Problem with /etc/init.d/
alexander.dalloz at uni-bielefeld.de
Tue Feb 10 17:39:03 UTC 2004
Am Di, den 10.02.2004 schrieb Jean-Charles COLLIN um 18:21:
> Hi all,
> I encountered a nice problem today concerning a customized script that
> I want to start and shutdown automatically. This script is chkconfig
> compliant (on : 2345 off:016) but I could not see the shutdown line
> (example : Shutdown Server IPBX [OK])
> I solved the problem with creating a /var/lock/subsys/<servername>
> file, which refers to /etc/init.d/<servername>
> Does someone have already been in front of this kind of thing ?
I do not see your problem. Your init script must create/touch a file in
/var/lock/subsys. The functions script is checking for this. For example
look at /etc/init.d/xinetd and see how it is build up.
P.S. Please send messages to the list in plain/text only and no html.
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 18:36:27 up 1 day, 21:19, load average: 0.53, 0.15, 0.10
[ Γνωθι σ'αυτον - gnothi seauton ]
More information about the users