[SOGo] sogo inverse branch: sogod-init.d-debian doesn't stop sogod-0.9 processes

Ernersto Revilla sogo@opengroupware.org
Thu, 17 Apr 2008 11:08:30 +0200


Hi.

The init script for debian does not stop daemons.

I found
* 'echo $$ > $PIDFILE' is before! launching the sogod-0.9
* two processes are launched for each instance of sogod: first,  a
watchdog process, second the service process
* moving the 'echo' to the end does not resolve it because echo $$ does
return the service process, not the watchdog process.

now, I'm using a 'killall sogod-0.9'

Regards.
Erny