Subject: Resource for NetBSD users: rc.d
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Jim Wise <jwise@draga.com>
List: netbsd-users
Date: 04/10/2002 14:45:59
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 10 Apr 2002, Lubomir Sedlacik wrote:

>On Thu, Apr 11, 2002 at 04:21:18AM +1000, rob wrote:
>> When rolling scripts for rc.d you can specify a command that is
>> executed when /etc/rc.d/script start is executed.  I presume that a
>> kill -QUIT is used when a /etc/rc.d/script stop is executed?
>>
>> Anyway to get to the point I have a number of services that use
>> separate scripts for starting up, shutting down and restarting e.g.
>> startup.sh & shutdown.sh how can I modify my custom
>> /etc/rc.d/scriptxyz to execute the appropriate script for start, stop,
>> restart etc..?
>
>http://www.netbsd.org/Documentation/rc/ and /etc/rc.subr are very good
>sources to start with (and end, in most cases ;).
>
>regards,
>
>

- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8tIhrN71lEcOYcw4RAsvsAJ9DN8n7PWrfVnCiguq5M3wEpMIjxQCgleWd
5cJeebU5JPlG2tOWer5zFng=
=Twnp
-----END PGP SIGNATURE-----