Subject: Re: 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:50:50
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 10 Apr 2002, Jim Wise wrote:
>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 ;).
Hmm, over-eager `send' key. Sorry for the noise :-).
- --
Jim Wise
jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE8tImSN71lEcOYcw4RAm2EAKCTa1Qcw+GBlcBpmj18OR4hGlz8JACfYI3G
d6D7lRiFPxkFpqcjlM+U7Ko=
=+BsS
-----END PGP SIGNATURE-----