From 5013a76060c277f7811e01a004d39bf01a86f574 Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Tue, 27 Jun 2017 22:44:13 +0200 Subject: [PATCH] Don't start services on install We need to wait until the setup routine is finished or else the install will fail when starting celery. --- install | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/install b/install index 1e82c955e..5d34f1028 100755 --- a/install +++ b/install @@ -195,7 +195,6 @@ function systemInitInstall() { verbose "Service ${service_name} installed into ${target_path}" # Enable and start the service loudCmd "systemctl enable ${service_name}.service" - loudCmd "systemctl start ${service_name}.service" verbose "Service ${service_name} enabled and started" elif $has_upstart_init; then case "$service_name" in @@ -235,9 +234,6 @@ function systemInitInstall() { chown root:root $target_path verbose "Service ${service_name} installed into ${target_path}" loudCmd "initctl check-config $service_name" - # Start the service - loudCmd "service ${service_name} start" - verbose "Service ${service_name} started" elif $has_systemv_init; then case "$service_name" in airtime_analyzer) @@ -285,9 +281,7 @@ function systemInitInstall() { verbose "Service ${service_name} installed into ${target_path}" # Create symlinks for the appropriate runlevels loudCmd "update-rc.d $service_name defaults" - # Start the service - loudCmd "invoke-rc.d $service_name start" - verbose "Service ${service_name} enabled and started" + verbose "Service ${service_name} enabled" fi return 0 }