Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2005 08:38:15 -0600
From:      Doug Poland <doug@polands.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rc.subr startup question
Message-ID:  <20050315143815.GA67147@polands.org>
In-Reply-To: <20050315061917.GB42670@gothmog.gr>
References:  <20050314215615.GM65944@polands.org> <20050315061917.GB42670@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 15, 2005 at 08:19:17AM +0200, Giorgos Keramidas wrote:
> On 2005-03-14 15:56, Doug Poland <doug@polands.org> wrote:
> >
> > I'm running 5.3-STABLE and I want to write a startup script for
> > ports/sysutils/mcron.  The twis is, I want an mcron process for
> > each user I specify in an external file.  For example...
> >
... snip ...
> 
> > This does not work because run_rc_command checks to see if the process
> > is already running before attempting to launch another instance.
> 
> Are you, by any chance, setting $pidfile to anything that is not shown
> above?  The check_pidfile() check is disabled when $pidfile is empty.
> 
no

> > Perhaps this is something best accomplished in /etc/rc.local?
> 
> Probably.
> 
That's what I did.  Not as elegant, but quick, easy, and it works.
Thanks for your help.


-- 
Regards,
Doug



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050315143815.GA67147>