cvs commit: ports/sysutils/rubygem-chef Makefile
ports/sysutils/rubygem-chef/files chef_client.in
Philip M. Gollucci
pgollucci at FreeBSD.org
Thu Mar 22 17:53:45 UTC 2012
pgollucci 2012-03-22 17:53:44 UTC
FreeBSD ports repository
Modified files:
sysutils/rubygem-chef Makefile
sysutils/rubygem-chef/files chef_client.in
Log:
The chef_client init script should set up the pidfile in
/var/run/chef-client.pid and instruct the chef-client process to write its PID
to this file when daemonizing. Without a pidfile, the status and onestatus
command fall back to process inspection. If chef is run with a resource defined
to :stop the chef_client service, such as chef-client::cron, then the
non-daemonized chef-client process effectivelly kills itself by running
/usr/local/etc/rc.d/chef_client status and /usr/local/etc/rc.d/chef_stop.
Run chef-client manually, then run /usr/local/etc/rc.d/chef_client onestatus.
The status will report chef-client running with the PID of the manually invoked
chef-client process.
- Bump PORTREVISION
Submitted by: Scott Sanders <ssanders at taximagic.com> (private e-mail)
Approved by: maintainer (implicit)
Feature safe: yes
Revision Changes Path
1.14 +1 -0 ports/sysutils/rubygem-chef/Makefile
1.4 +4 -2 ports/sysutils/rubygem-chef/files/chef_client.in
More information about the cvs-ports
mailing list