summaryrefslogtreecommitdiff
path: root/chef/distro/redhat/etc
diff options
context:
space:
mode:
authorMatthew Kent <mkent@magoazul.com>2011-04-21 11:35:34 -0700
committerDaniel DeLeo <dan@opscode.com>2011-04-27 22:38:25 -0700
commit2d918a238cde6f3421d3c8a66e5dea710e95aa08 (patch)
treea5c995070974d3c78b2efbf30b85ad43fef3e217 /chef/distro/redhat/etc
parent73fb4fcebdea221df2af67a49320acde34057744 (diff)
downloadchef-2d918a238cde6f3421d3c8a66e5dea710e95aa08.tar.gz
CHEF-1074: Pass the pid as an option.
Diffstat (limited to 'chef/distro/redhat/etc')
-rw-r--r--chef/distro/redhat/etc/init.d/chef-expander2
-rw-r--r--chef/distro/redhat/etc/init.d/chef-solr2
2 files changed, 2 insertions, 2 deletions
diff --git a/chef/distro/redhat/etc/init.d/chef-expander b/chef/distro/redhat/etc/init.d/chef-expander
index f4fc9e90a8..82ae34dd62 100644
--- a/chef/distro/redhat/etc/init.d/chef-expander
+++ b/chef/distro/redhat/etc/init.d/chef-expander
@@ -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
diff --git a/chef/distro/redhat/etc/init.d/chef-solr b/chef/distro/redhat/etc/init.d/chef-solr
index b17f7958a2..b75c40f53f 100644
--- a/chef/distro/redhat/etc/init.d/chef-solr
+++ b/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