Permalink
Browse files

[CHEF-1584] fix pidfile option in redhat init script

Apply patch by Michael Leinartas
  • Loading branch information...
1 parent e805492 commit 6a11cd90f817d44ae27628349433b2852067ffd9 @danielsdeleo danielsdeleo committed Feb 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 chef/distro/redhat/etc/init.d/chef-client
@@ -35,7 +35,7 @@ start() {
[ -x $exec ] || exit 5
[ -f $config ] || exit 6
echo -n $"Starting $prog: "
- daemon chef-client -d -c "$config" -L "$logfile" -p "$pidfile" -i "$interval" -s "$splay" "$options"
+ daemon chef-client -d -c "$config" -L "$logfile" -P "$pidfile" -i "$interval" -s "$splay" "$options"
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile

0 comments on commit 6a11cd9

Please sign in to comment.