Here is the init.d which comes with the trunk:
Code:
case "$1" in
start)
echo "Starting $DESC..."
start-stop-daemon --start --verbose --exec $DAEMON -- -p $PID
;;
stop)
start-stop-daemon --stop --verbose --pidfile $PID --exec $DAEMON --retry 5
rm $PID
;;
restart|force-reload)
start-stop-daemon --stop --verbose --pidfile $PID --exec $DAEMON --retry 5
rm $PID
echo "Starting $DESC..."
start-stop-daemon --start --verbose --exec $DAEMON -- -p $PID
;;
status)
and on centos it was the same or it is the same when the init script which I made for CentOS isn't added yet. As you can see the start-stop-daemon is used for everything. The startscript which works for CentOS can be found here:
http://mirrors.penguinfriends.org/ISPCP/...pcp_daemon
Greetings Sweeny