Skip to content

Commit e0238b8

Browse files
Yasuki Okumuramuuki88
Yasuki Okumura
authored andcommitted
Fix a bug which cause upgrade failing because of no restartService
1 parent a0c74b4 commit e0238b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderPlugin.scala

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ object SystemloaderPlugin extends AutoPlugin {
121121
|fi
122122
|""".stripMargin,
123123
RpmConstants.Postun -> s"""|# ${getOrUnsupported(serverLoading.value)} support
124+
|$${{loader-functions}}
124125
|if [ $$1 -ge 1 ] ;
125126
|then
126127
| restartService $${{app_name}} || echo "Failed to try-restart $${{app_name}}"

0 commit comments

Comments
 (0)