Re: RFC: initscript policy proposal
In Thu, 2 Nov 2000 11:38:50 +0100 Ola Lundqvist <firstname.lastname@example.org> cum veritate scripsit :
> And the package maintainer should know about that name, and it is quite
> easy to get the pid too.
> if ps xa | grep -v grep | grep name; then
The right solution will be to have a lockfile with PID in it somewhere in the
filesystem maybe /tmp or /var/tmp or anywhere like that, and look at the file
to restart it.
That's about the only clean way things can go without interfering with
chroot installations that I could think up of.
University: email@example.com Netfort: firstname.lastname@example.org
dancer, a.k.a. Junichi Uekawa http://www.netfort.gr.jp/~dancer
Dept. of Knowledge Engineering and Computer Science, Doshisha University.
... Long Live Free Software, LIBERTAS OMNI VINCIT.