Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Init replacement
Date: Sun, 04 May 2003 09:42:47
Message-Id: 200305041142.44447.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] Init replacement by "leon j. breedt"
1 On Saturday 03 May 2003 15:20, leon j. breedt wrote:
2 > how i planned to implement my version, was to have
3 > a file /etc/svc.d/<name>, which described the service. in this file, you
4 > would declare dependencies, security attributes, etc. and also specify the
5 > command to start and to stop the service, which could refer to seperate
6 > scripts or just be oneliner commands.
7
8 Why not use the current gentoo init scripts. They are able to provide all
9 things you want. Just rewrite /sbin/runscript to be a wrapper to your program
10 and you can do all you want while keeping compatibility from the user
11 perspective.
12
13 Paul
14
15 --
16 Paul de Vrieze
17 Researcher
18 Mail: pauldv@××××××.nl
19 Homepage: http://www.devrieze.net