From 2d2aa36b1c0135fc3dca5d8b934caf079578cdab Mon Sep 17 00:00:00 2001 From: Alexey Kardapoltsev Date: Wed, 8 Oct 2014 11:53:02 +0600 Subject: [PATCH] FIX #372: On upgrade service is stopped twice --- .../archetypes/java_server/systemloader/systemv/loader-functions | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/loader-functions b/src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/loader-functions index ec948adc5..a3679cbdd 100644 --- a/src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/loader-functions +++ b/src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/loader-functions @@ -24,7 +24,6 @@ startService() { # stopService() { app_name=$1 - service $app_name stop if hash update-rc.d 2>/dev/null; then echo "Removing $app_name from autostart using update-rc.d" update-rc.d -f $app_name remove