Skip to content

Commit 1832e47

Browse files
committed
Merge pull request #120 from dbathily/master
Better upstart script
2 parents 2105a49 + d2eff10 commit 1832e47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/resources/com/typesafe/sbt/packager/archetypes/upstart-template

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ author "${{author}}"
1111
# When to start the service
1212
start on runlevel [2345]
1313

14+
# When to stop the service
15+
stop on runlevel [016]
16+
1417
# Automatically restart process if crashed. Tries ${{retries}} times every ${{retryTimeout}} seconds
1518
respawn
1619
respawn limit ${{retries}} ${{retryTimeout}}

0 commit comments

Comments
 (0)