--- configs/gentoo/init.d/ispcp_daemon.orig 2009-11-13 03:31:21.816623465 +0100 +++ configs/gentoo/init.d/ispcp_daemon 2009-11-13 03:29:37.476915642 +0100 @@ -41,7 +41,9 @@ depend() { start() { ebegin "Starting $SVCNAME" - start-stop-daemon --start --exec $DAEMON --pidfile $PID + start-stop-daemon --start --exec $DAEMON --make-pidfile --pidfile $PID + sleep 1 + echo `/bin/pidof ispcp_daemon` > $PID eend $? }