Subject: Re: Starting jobs from init
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 03/29/2002 13:22:19
> hi,
> 
> On Fri, Mar 29, 2002 at 01:00:45PM -0800, Paul Newhouse wrote:
> > I guess I didn't ask this quite right, let me try again.  Using sshd
> > as an example;
> > 
> >    If the sshd process, which was started by the /etc/rc.d/sshd
> >    script, were to die, does the current rc.d scheme automatically
> >    call the /etc/rc.d/sshd script with "start" or "restart"?  Or must
> >    that be handled by some user (sysadmin/owner/...) supplied
> >    scripting?
> > 
> > I find references to "restart", but didn't notice anything that
> > suggested the rc scheme would/could automatically do this.
> 
> 'restart' target is for manually restarting running service.

Yeah, the manual command line capability was made pretty clear.

> you want to use pkgsrc/sysutils/daemontools package or something
> similar.

AH!! Might just be what I was looking for.

Thanks again,
Paul


> regards,
> 
> -- 
> -- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\ --
> --                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ / --
> --                                       Microsoft proprietary formats   X  --
> -- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \ --
> -- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2      --