Re: Problem with /etc/init.d/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?
> 
> thx
> 
> --
> Jean-Charles

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.

Alexander

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 ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux