[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re[2]: init/rc scripts
- From: Brian Ashe <rhlist dee-web com>
- To: Hugh E Cruickshank <redhat-list redhat com>
- Subject: Re[2]: init/rc scripts
- Date: Wed May 1 01:02:02 2002
Hello Hugh,
Tuesday, April 30, 2002, 10:27:28 PM, you textually orated:
>> >It really does not matter what those scripts do as the fapsrv
>> >script in /etc/init.d/ never gets executed with the "stop"
>> >argument.
Try this... (It's just a WAG)
Add a line...
touch /var/lock/subsys/fapsrv
to the "start" portion of your script.
and of course it's counterpart...
rm -f /var/lock/subsys/fapsrv
to the "stop" portion.
IIRC, RHL needs to see that the thing was started in order to execute the
stop. It does this by checking for the existence of a file in
/var/lock/subsys/ that matches the name of the script being called (after
the K?? part).
Have fun,
--
_________________________________________________________________
Brian Ashe CTO
rhlist dee-web com Dee-Web Software Services, LLC.
http://www.dee-web.com/
-----------------------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]