diff --git a/packaging/tools/make_install.sh b/packaging/tools/make_install.sh index 5176c76a831fc0a9a3c81bc9ef25de2bdad8c6e2..89d5ad0177e91131a7be40f9ed741c4ed95aa115 100755 --- a/packaging/tools/make_install.sh +++ b/packaging/tools/make_install.sh @@ -207,7 +207,7 @@ function install_service_on_systemd() { function install_service() { if is_using_systemd; then install_service_on_systemd - else + elif $(which update-rc.d &> /dev/null); then install_service_on_sysvinit fi }