Permalink
Browse files

CHEF-1074: Pass the pid as an option.

  • Loading branch information...
1 parent 73fb4fc commit 2d918a238cde6f3421d3c8a66e5dea710e95aa08 @mdkent mdkent committed with danielsdeleo Apr 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 chef/distro/redhat/etc/init.d/chef-expander
  2. +1 −1 chef/distro/redhat/etc/init.d/chef-solr
@@ -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

0 comments on commit 2d918a2

Please sign in to comment.