Displaying 1 result from an estimated 1 matches for "utility_flags".
2006 Sep 21
3
FreeBSD startup script, can''t set pidfile
Hi,
I''ve installed puppet gem on freebsd 6.1 and wrote a simple startup
script for puppetmasterd. It starts fine, but doesn''t create the
pidfile, so I can''t stop it. Here is my script:
#!/bin/sh
utility_enable=${utility_enable-"NO"}
utility_flags=${utility_flags-""}
utility_pidfile=${utility_pidfile-"/var/run/puppetmasterd.pid"}
. /etc/rc.subr
name="puppetmasterd"
rcvar=`set_rcvar`
command="/usr/local/bin/puppetmasterd"
load_rc_config $name
pidfile="${utility_pidfile}"
start_cmd="e...