Displaying 2 results from an estimated 2 matches for "puppetmasterd_en".
2007 Oct 26
3
freebsd service management redux
After reading the rc.subr(8) man page and Newburns''s article on the rc.d subsystem[1],
It''s clear that a rc.conf.d per service file structure is already natively supported on
FreeBSD.
I''ve verified this with my own testing:
# echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd
# /usr/local/etc/rc.d/puppetmasterd start
Performing sanity check of puppetmasterd configuration: OK
Starting puppetmasterd.
# /usr/local/etc/rc.d/puppetmasterd stop
Stopping puppetmasterd.
Waiting for PIDS: 53822.
Obviously, I made sure it w...
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
...ot;
rcvar=`set_rcvar`
command="/usr/local/bin/puppetmasterd"
load_rc_config $name
pidfile="${utility_pidfile}"
start_cmd="echo \"Starting ${name}.\"; /usr/bin/nice -5 ${command}
${utility_flags} ${command_args}"
run_rc_command "$1"
and I have puppetmasterd_enable="YES" set in /etc/rc.conf
My script is based on a standard template from the freebsd handbook
(11.5.1):
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html
When I try to stop it i get:
puppetmasterd not running? (check /var/run/puppetmaster...