[Python-modules-commits] r23332 - in packages/celery/tags/2.5.3-1/debian/patches (1 file)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Thu Jan 17 11:05:57 UTC 2013
Date: Thursday, January 17, 2013 @ 11:05:55
Author: fladi-guest
Revision: 23332
Remove superflous line and update patch description.
Modified:
packages/celery/tags/2.5.3-1/debian/patches/lsb-init.patch
Modified: packages/celery/tags/2.5.3-1/debian/patches/lsb-init.patch
===================================================================
--- packages/celery/tags/2.5.3-1/debian/patches/lsb-init.patch 2013-01-17 10:42:09 UTC (rev 23331)
+++ packages/celery/tags/2.5.3-1/debian/patches/lsb-init.patch 2013-01-17 11:05:55 UTC (rev 23332)
@@ -1,9 +1,9 @@
Description: LSB compliant headers, status actions and ENABLED variable
Upstream ships it's own init scripts but they lack some LSB header and the
(optional) "status" action. This patch fixes this and also adds a variable called ENABLED
- in /etc/default/celeryd.
+ in /etc/default/celery* while sanitizing the variables used in the init scripts.
Author: Michael Fladischer <FladischerMichael at fladi.at>
-Last-Update: 2012-01-18
+Last-Update: 2013-01-17
Forwarded: no
--- a/contrib/generic-init.d/celeryd
@@ -148,7 +148,7 @@
--- a/contrib/generic-init.d/celerybeat
+++ b/contrib/generic-init.d/celerybeat
-@@ -15,31 +15,37 @@
+@@ -15,31 +15,36 @@
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: celery periodic task scheduler
@@ -188,13 +188,12 @@
CELERYBEAT_PID_FILE=${CELERYBEAT_PID_FILE:-${CELERYBEAT_PIDFILE:-$DEFAULT_PID_FILE}}
CELERYBEAT_LOG_FILE=${CELERYBEAT_LOG_FILE:-${CELERYBEAT_LOGFILE:-$DEFAULT_LOG_FILE}}
CELERYBEAT_LOG_LEVEL=${CELERYBEAT_LOG_LEVEL:-${CELERYBEAT_LOGLEVEL:-$DEFAULT_LOG_LEVEL}}
-+CELERYBEAT_USER=${CELERYBEAT_USER:-$DEFAULT_USER}
+CELERYBEAT_USER=${CELERYBEAT_USER:-${CELERYD_USER:-$DEFAULT_USER}}
+CELERYBEAT_GROUP=${CELERYBEAT_GROUP:-${CELERYD_GROUP:-$DEFAULT_GROUP}}
export CELERY_LOADER
-@@ -125,7 +131,16 @@
+@@ -125,7 +130,16 @@
--pidfile="$CELERYBEAT_PID_FILE"
}
@@ -212,7 +211,7 @@
case "$1" in
start)
-@@ -144,9 +159,12 @@
+@@ -144,9 +158,12 @@
check_dev_null
start_beat
;;
More information about the Python-modules-commits
mailing list