MXS-2758: Enable MaxScale after installation
This commit is contained in:
@ -54,6 +54,8 @@ then
|
|||||||
mkdir -p /usr/lib/systemd/system/maxscale.service.d
|
mkdir -p /usr/lib/systemd/system/maxscale.service.d
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
systemctl enable maxscale.service
|
||||||
else
|
else
|
||||||
if [ -d "/etc/init/" ] && [ -f "@CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/upstart/maxscale.conf" ]
|
if [ -d "/etc/init/" ] && [ -f "@CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/upstart/maxscale.conf" ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user