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
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 ${name}
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 order
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,
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}
I believe