Update init script to background the worker process
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user