Update init script to background the worker process
This commit is contained in:
@@ -12,7 +12,7 @@ depend() {
|
|||||||
start() {
|
start() {
|
||||||
ebegin "Starting ripping-cluster-worker"
|
ebegin "Starting ripping-cluster-worker"
|
||||||
start-stop-daemon --start --quiet \
|
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
|
--exec /usr/bin/php /usr/lib/ripping-cluster/worker/ripping-cluster-worker.php
|
||||||
eend $? "Failed to start ripping-cluster-worker"
|
eend $? "Failed to start ripping-cluster-worker"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user