Subject: Re: pkgsrc init script for linux
To: Luciano Rodrigues Furtado <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 09/02/2004 13:40:40
On Thu, 2 Sep 2004, Luciano Rodrigues Furtado wrote:
> I would like to know if pkgsrc ships by default , any initscripts for
> packages like Apache for operating system different from NetBSD, like
> Linux for instance, if not whats the best approach to handle this in
> clean way, i am trying to avoid creating my own initscript.
In some cases, the maintainers for some packages install scripts that work
as generic init.d scripts (i.e. handles "start", "restart" and "stop"
arguments). But we don't have any requirement to do this, so in most cases
it is not done.
It appears that the startup script for apache2 package should be portable.
(It doesn't force use of rc.subr system.)
As for myself, I use pkgtools/rcorder and wip/rc.subr on my Linux boxes.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links