Skip to content

Commit

Permalink
Fix typo in debian systemv script.
Browse files Browse the repository at this point in the history
An `if` construct was not properly closed by `fi` which led to errors
when trying to start the system service.
  • Loading branch information
jan0sch committed May 26, 2016
1 parent 38d8353 commit 67e6844
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ start_daemon() {
stdout_redirect=""
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 67e6844

Please sign in to comment.