Skip to content

Commit

Permalink
Merge pull request #158 from hatchetation/fix_init_script
Browse files Browse the repository at this point in the history
Fix SysVinit script
  • Loading branch information
johnbellone committed Apr 2, 2015
2 parents c0f3855 + 3eb907b commit 992025a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/consul-init.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ case "$1" in
else
echo "Starting $NAME"
exec 2> >(while IFS= read -r line; do logger -t consul "$line"; done)
"${CMD[@]}" >> "$LOGFILE" &
${CMD[@]} >> "$LOGFILE" &
echo $! > "$PIDFILE"
if ! is_running; then
echo "Unable to start $NAME, see $LOGFILE"
Expand Down

0 comments on commit 992025a

Please sign in to comment.