Re: problems with a rc.d script I'm creating

2007-09-02 Thread Gerard
On September 01, 2007 at 11:17PM Jim Stapleton wrote: > akpop3d_enable=${akpop3d_enable-"NO"} > akpop3d_pidfile=${akpop3d_pidfile-"/var/run/akpop3d.pid"} > akpop3d_flags=${akpop3d_flags-"-d -s -L .akpop3d"} > akpop3d_conffile=${akpop3d_conffile-""} > akpop3d_flush_cache=${akpop3d_flush_cache-"NO"

Re: problems with a rc.d script I'm creating

2007-09-02 Thread Jim Stapleton
Thanks, I'll play with that a bit more. -Jim Stapleton On 9/2/07, Mel <[EMAIL PROTECTED]> wrote: > On Sunday 02 September 2007 14:18:17 Jim Stapleton wrote: > > > I haven't figured out the proper way myself, but the problem is that the > > > defaults you set at top, override the rc.conf variables

Re: problems with a rc.d script I'm creating

2007-09-02 Thread Mel
On Sunday 02 September 2007 14:18:17 Jim Stapleton wrote: > > I haven't figured out the proper way myself, but the problem is that the > > defaults you set at top, override the rc.conf variables, because they > > don't exist yet. What I do is move load_rc_config before setting > > defaults. General

Re: problems with a rc.d script I'm creating

2007-09-02 Thread Jim Stapleton
> I haven't figured out the proper way myself, but the problem is that the > defaults you set at top, override the rc.conf variables, because they don't > exist yet. What I do is move load_rc_config before setting defaults. General > order becomes: > name=foo > rcvar=`set_rcvar` > load_rc_config ${

Re: problems with a rc.d script I'm creating

2007-09-02 Thread Mel
On Sunday 02 September 2007 05:17:08 Jim Stapleton wrote: > I'm trying to create an rc.d script to start akpop3d (it doesn't seem > to come with one). > > According to the documentation on run_rc_command in /etc/rc.subr, I > thought this should work. However I get no response when I run > '/usr/loc

problems with a rc.d script I'm creating

2007-09-01 Thread Jim Stapleton
I'm trying to create an rc.d script to start akpop3d (it doesn't seem to come with one). According to the documentation on run_rc_command in /etc/rc.subr, I thought this should work. However I get no response when I run '/usr/local/etc/rc.d/akpop3d start', and ps -A doesn't show an akpop3d process