Subject: Re: Starting jobs from init
To: Paul Newhouse <newhouse@rockhead.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 03/29/2002 22:02:50
--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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;
>=20
>    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?
>=20
> 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.
you want to use pkgsrc/sysutils/daemontools package or something
similar.

regards,

--=20
-- 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     =
 --

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8pNZ6Wc63C347cOIRAvAUAKCgHeBEumdUp+C/s3xA7Ose2SIizgCfdGma
5Pr9+DrWs1Y8EBSQhu77l/w=
=vyVL
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--