Skip to content

Commit

Permalink
Merge pull request #778 from owenfeehan/master
Browse files Browse the repository at this point in the history
Fix #776 using $DAEMON_GROUP to indicate group in Redhat startup temp…
  • Loading branch information
muuki88 committed Apr 14, 2016
2 parents 69c68a6 + a9bc669 commit 98a7789
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export JAVA_OPTS
# create PIDDIR where PIDFILE will be kept
if [ -z "${PIDDIR:-}" ]; then
PIDDIR=/var/run/${{app_name}}/
mkdir -p $PIDDIR && chown $DAEMON_USER:$DAEMON_USER $PIDDIR
mkdir -p $PIDDIR && chown $DAEMON_USER:$DAEMON_GROUP $PIDDIR
fi

# If program manages its own PID file then it
Expand Down

0 comments on commit 98a7789

Please sign in to comment.