Commit fca95a90 authored by Matthew Kent's avatar Matthew Kent Committed by Bryan McLellan
Browse files

CHEF-1074: Pass the pid as an option.

parent af648c79
......@@ -33,7 +33,7 @@ start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon $prog -d -c "$config" -L "$logfile" "$options"
daemon $prog -d -c "$config" -L "$logfile" -P "$pidfile" "$options"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
......
......@@ -33,7 +33,7 @@ start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
daemon $prog -d -c "$config" -L "$logfile" "$options"
daemon $prog -d -c "$config" -L "$logfile" -P "$pidfile" "$options"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment