Commit 8af58d64 authored by Brian May's avatar Brian May

Set shell in su invocation

See Bug#824786: celeryd: Initscript doesn't start daemon,
http://bugs.debian.org/824786
parent 0026d004
......@@ -249,7 +249,7 @@ stop_beat () {
}
_chuid () {
su "$CELERYBEAT_USER" -c "$CELERYBEAT $*"
su "$CELERYBEAT_USER" --shell=/bin/sh -c "$CELERYBEAT $*"
}
start_beat () {
......
......@@ -241,7 +241,7 @@ _get_pids() {
_chuid () {
su "$CELERYD_USER" -c "$CELERYD_MULTI $*"
su "$CELERYD_USER" --shell=/bin/sh -c "$CELERYD_MULTI $*"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment