Re: lsb
Tobias Burnus <[email protected]> Thu, 11 Nov 2004 23:48:05 +0100
| Newsgroups | gmane.linux.lsb.discuss |
|---|---|
| Message-ID | <[email protected]> |
Hello, Rafael =C1vila de Esp=EDndola wrote: >We think that a small addition must be made to make it possible: a "Conf= lict:"=20 >entry. > =20 > Sounds sensible. This way one could make sure that conflicting processes=20 are not started. >In some cases (the "reboot" service for example) it is necessary that a=20 >service be run only if some other service is not running. Declaring a=20 >conflict solves the problem. > =20 > Well, it principle it already works: You require that 'A' depends on=20 [re]'boot' then A is stopped before boot. >1) When looking for the dependency of a service should we=20 >look for it in all files in /etc/init.d or only in those file that have = a=20 >Default-start with the present runlevel? > =20 > Well, if you use rc.d/* then you should look there and not automatically=20 enable other services. No services should automatically enabled. >2) Is it true that a service is started or stop at most once per runleve= l? > =20 > Well, normally yes, but a user may start it more than once. Tobias