diff -r 000000000000 -r b97547f5f1fa debian/cubicweb-ctl.cubicweb.init --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/cubicweb-ctl.cubicweb.init Wed Nov 05 15:52:50 2008 +0100 @@ -0,0 +1,15 @@ +#!/bin/sh -e + +### BEGIN INIT INFO +# Provides: cubicweb +# Required-Start: $syslog $local_fs $network +# Required-Stop: $syslog $local_fs $network +# Should-Start: $postgresql $pyro-nsd +# Should-Stop: $postgresql $pyro-nsd +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start cubicweb application at boot time +### END INIT INFO + +cd /tmp +/usr/bin/cubicweb-ctl $1 --force