|
From: Donatas C. <don...@ma...> - 2005-12-12 15:51:07
|
Leif,
These are some scripts that I found on my Fedora Core 4 machine. All of them
do create lock files in /var/lock/subsys/.
Greetings,
Donatas
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Monday, December 12, 2005 2:07 PM
To: wra...@li...
Subject: Re: [Wrapper-user] Wrapper doesn't call stop() during machine
restart on Fedora
Donatas,
Good work tracking that down. Looking at Debian at least. the
/var/lock/ directory
exists, but not the /var/lock/subsys/ directory. One thing that I
could do is to look for
the /var/lock/subsys/ directory and create that lock file if it
exists. It might make more
sense to do it within the wrapper process however, that way if the
wrapper process
dies, the lock file will get deleted like the pid file does.
Opinions on this from anyone else welcome as well. Not really sure
what is best
here. Though I would like the scripts to work out of the box as much as
possible.
How do other application scripts function on Fedora? If they are
designed to be
run on linux systems as well, I could take a look at them for clues.
Cheers,
Leif
|