tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Generically running rc scripts
On Mon, 14 Nov 2011, Julian Fagir wrote:
> I'm just editing a small program that makes use of FreeBSD's service(8):
> http://www.freebsd.org/cgi/man.cgi?query=service&apropos=0&sektion=8&manpath=FreeBSD+8.2-RELEASE&arch=default&format=html
>
> I wonder: Is there such a generic way in NetBSD for restarting services, too?
> Or should I just take scripts from /etc/rc.d (as, in opposition to FreeBSD,
> NetBSD does not have a second rc.d directory)?
There may be additional rc.d directories.
See "man rc.conf" for "rc_directories". (I am not sure why not used for
shutdown though.)
There was discussion on adding an service type script (one idea was
called "rcadmin"), but I don't think it ever happened. See the long
"admin script for ipfilter" thread at
http://mail-index.netbsd.org/tech-userlevel/2006/12/oindex.html
and
http://mail-index.netbsd.org/tech-userlevel/2007/01/oindex.html
Home |
Main Index |
Thread Index |
Old Index