[Python-modules-commits] [celery] 01/03: Set shell in su invocation
Brian May
bam at moszumanska.debian.org
Wed May 25 08:09:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
bam pushed a commit to branch master
in repository celery.
commit 8af58d646c13cbd52374f855d522f48b580b3089
Author: Brian May <bam at debian.org>
Date: Wed May 25 18:06:17 2016 +1000
Set shell in su invocation
See Bug#824786: celeryd: Initscript doesn't start daemon,
http://bugs.debian.org/824786
---
extra/generic-init.d/celerybeat | 2 +-
extra/generic-init.d/celeryd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extra/generic-init.d/celerybeat b/extra/generic-init.d/celerybeat
index b6287ad..78aa25a 100755
--- a/extra/generic-init.d/celerybeat
+++ b/extra/generic-init.d/celerybeat
@@ -249,7 +249,7 @@ stop_beat () {
}
_chuid () {
- su "$CELERYBEAT_USER" -c "$CELERYBEAT $*"
+ su "$CELERYBEAT_USER" --shell=/bin/sh -c "$CELERYBEAT $*"
}
start_beat () {
diff --git a/extra/generic-init.d/celeryd b/extra/generic-init.d/celeryd
index 6c2f866..7ad4599 100755
--- a/extra/generic-init.d/celeryd
+++ b/extra/generic-init.d/celeryd
@@ -241,7 +241,7 @@ _get_pids() {
_chuid () {
- su "$CELERYD_USER" -c "$CELERYD_MULTI $*"
+ su "$CELERYD_USER" --shell=/bin/sh -c "$CELERYD_MULTI $*"
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery.git
More information about the Python-modules-commits
mailing list