On Wed, Mar 26, 2008 at 08:03:07PM +0100, Jan Wagner wrote: > On Saturday 22 March 2008 18:05, Jan Wagner wrote: > > On Saturday 22 March 2008 12:53, you wrote: > > > Then please depend on psmisc. Your method is *not* reliable. It > > > depends on the PID sequence number. You are using a shell script and > > > invoke `ps aux | grep $DAEMON' which means that $DAEMON will appear > > > as part of the cmdline of the grep invokation. If the $DAEMON PID > > > is lower than the grep it will be written to the pid file, otherwise > > > the PID of the grep process will be written. > > yes ... you are true, but /bin/pidof from sysvinit-utils (which is required > > and needs no additional depends) should solve this issue, shouldn't it? > did I maybe miss your response somewhere?
Go ahead. Kind regards, Philipp Kern -- .''`. Philipp Kern Debian Developer : :' : http://philkern.de Debian Release Assistant `. `' xmpp:[EMAIL PROTECTED] `- finger pkern/[EMAIL PROTECTED]
signature.asc
Description: Digital signature