Fixes install failure in Docker due to systemctl

Ubuntu Bionic Fix
pull/1912/head
Nick Vyzas 7 years ago committed by GitHub
parent be86f31f62
commit c777a50a56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,4 +25,7 @@ File: postinst
chown -R proxysql: /var/lib/proxysql
chown root:proxysql /etc/proxysql.cnf
chmod 640 /etc/proxysql.cnf
systemctl enable proxysql.service
if [ -d /run/systemd/system ]; then
systemctl enable proxysql.service > /dev/null || true
systemctl --system daemon-reload > /dev/null || true
fi

Loading…
Cancel
Save