installer: default to the daemon installor for Linux with systemd

Note: don't backport to 2.0-maintenance
This commit is contained in:
Graham Christensen 2018-04-19 13:40:27 -04:00
parent 17b158af85
commit 51cbe99104
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -34,7 +34,7 @@ fi
if [ "$(uname -s)" = "Darwin" ]; then if [ "$(uname -s)" = "Darwin" ]; then
INSTALL_MODE=daemon INSTALL_MODE=daemon
elif [ "$(uname -s)" = "Linux" ] && [ -e /run/systemd/system ]; then elif [ "$(uname -s)" = "Linux" ] && [ -e /run/systemd/system ]; then
INSTALL_MODE=no-daemon INSTALL_MODE=daemon
else else
INSTALL_MODE=no-daemon INSTALL_MODE=no-daemon
fi fi