MXS-2758: Enable MaxScale after installation

This commit is contained in:
Markus Mäkelä 2020-01-10 09:44:20 +02:00
parent 6e8318f72f
commit c18cbb7a6d
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -54,6 +54,8 @@ then
mkdir -p /usr/lib/systemd/system/maxscale.service.d
systemctl daemon-reload
fi
systemctl enable maxscale.service
else
if [ -d "/etc/init/" ] && [ -f "@CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/upstart/maxscale.conf" ]
then