From 93818c034d5741633f4bd6c391e3cfabf18d5679 Mon Sep 17 00:00:00 2001 From: Yasuki Okumura Date: Thu, 22 Jun 2017 19:40:37 +0900 Subject: [PATCH] Fix a bug which cause upgrade failing because of no restartService --- .../packager/archetypes/systemloader/SystemloaderPlugin.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderPlugin.scala b/src/main/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderPlugin.scala index d559f41e9..cf10b363f 100644 --- a/src/main/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderPlugin.scala +++ b/src/main/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderPlugin.scala @@ -121,6 +121,7 @@ object SystemloaderPlugin extends AutoPlugin { |fi |""".stripMargin, RpmConstants.Postun -> s"""|# ${getOrUnsupported(serverLoading.value)} support + |$${{loader-functions}} |if [ $$1 -ge 1 ] ; |then | restartService $${{app_name}} || echo "Failed to try-restart $${{app_name}}"