[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Generically running rc scripts
On Mon, Nov 14, 2011 at 2:23 PM, Jeremy C. Reed <reed%reedmedia.net@localhost>
> On Mon, 14 Nov 2011, Julian Fagir wrote:
>> I'm just editing a small program that makes use of FreeBSD's service(8):
>> 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
The FreeBSD service shell script looks like it would be mostly
portable except for the jails and $local_startup variable.
Main Index |
Thread Index |