Skip to content

Commit

Permalink
Fix typo in debian systemv script
Browse files Browse the repository at this point in the history
As already corrected in 1.2.x - a1d6023
  • Loading branch information
mattmonkey83 committed Jul 16, 2016
1 parent b6d455c commit 151b762
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ start_daemon() {
[ -d "/var/run/${{app_name}}" ] || install -d -o "$DAEMON_USER" -g "$DAEMON_GROUP" -m755 "/var/run/${{app_name}}"
logfile="${{daemon_log_file}}"
stdout_redirect=""
if [ ! -z "${logfile:-}"]; then
if [ ! -z "${logfile:-}" ]; then
stdout_redirect=" >> ${{logdir}}/${{app_name}}/$logfile 2>&1"
if
fi

if [ "$create_pidfile" = true ]; then
start-stop-daemon --background --chdir ${{chdir}} --chuid "$DAEMON_USER" --make-pidfile --pidfile "$PIDFILE" --startas "$RUN_CMD" --start -- $RUN_OPTS "$stdout_redirect"
Expand Down

0 comments on commit 151b762

Please sign in to comment.