Update init script to background the worker process

This commit is contained in:
2011-06-19 22:48:45 +01:00
parent e1bd324e84
commit c0d8747b21

View File

@@ -12,7 +12,7 @@ depend() {
start() {
ebegin "Starting ripping-cluster-worker"
start-stop-daemon --start --quiet \
--pidfile ${PID_FILE} \
--background --make-pidfile --pidfile ${PID_FILE} \
--exec /usr/bin/php /usr/lib/ripping-cluster/worker/ripping-cluster-worker.php
eend $? "Failed to start ripping-cluster-worker"
}