Date: Tue, 13 May 2008 21:13:55 -0400 From: Sahil Tandon <sahil@tandon.net> To: Paul Schmehl <pauls@utdallas.edu> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: rc.d startup script problem Message-ID: <20080514011355.GA44926@shepherd> In-Reply-To: <14848575EFE82AE05B2027F2@utd65257.utdallas.edu> References: <14848575EFE82AE05B2027F2@utd65257.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Paul Schmehl <pauls@utdallas.edu> [05-13-2008]: > This script will not start if you change the name or location of the conf > file in /etc/rc.conf. For some reason it's not parsing /etc/rc.conf. > Anyone know why? [...] > . /etc/rc.subr > > name="sancp_agent" > rcvar=`set_rcvar` > command="/usr/local/bin/sguil-sensor/sancp_agent.tcl" > procname="/usr/local/bin/tclsh8.4" > pidfile="/var/run/${name}.pid" > check_pidfile="${pidfile} ${procname} /bin/sh" > > [ -z "$sancp_agent_enable" ] && sancp_agent_enable="NO" > [ -z "$sancp_agent_conf" ] && > sancp_agent_conf="/usr/local/etc/sguil-sensor/sancp_agent.conf" > [ -z "$sancp_agent_flags" ] && sancp_agent_flags="-D" > > [ -n "$sancp_agent_conf" ] && sancp_agent_flags="$sancp_agent_flags -c > $sancp_agent_conf" > > load_rc_config $name Does anything change if you set this higher, say, right below check_pidfile but before all instances of sancp_agent_*? [...] -- Sahil Tandon <sahil@tandon.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080514011355.GA44926>