Skip to content

Commit 9de1ca5

Browse files
committed
Merge pull request #180 from kardapoltsev/master
pid file location changed for play and systemV start template
2 parents 74f22c2 + ce3fc95 commit 9de1ca5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/resources/com/typesafe/sbt/packager/archetypes/etc-default-template

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# -Dkey=val
2626

2727
# For play applications you may set
28-
# -Dpidfile.path=/var/run/${{app_name}}.pid
28+
# -Dpidfile.path=/var/run/${{app_name}}/play.pid
2929

3030
# Turn on JVM debugging, open at the given port
3131
# -jvm-debug <port>

src/main/resources/com/typesafe/sbt/packager/archetypes/systemv/start-debian-template

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ source /lib/init/vars.sh
1313
source /lib/lsb/init-functions
1414

1515

16-
PIDFILE=/var/run/${{app_name}}.pid
16+
PIDFILE=/var/run/${{app_name}}/running.pid
1717

1818
if [ -z "$DAEMON_USER" ]; then
1919
DAEMON_USER=${{daemon_user}}
2020
fi
2121

2222

23-
# smb could define some additional options in $RUN_OPTS
2423
RUN_CMD="${{chdir}}/bin/${{app_name}}"
2524

2625

0 commit comments

Comments
 (0)