1 |
iksaif 13/03/06 09:16:20 |
2 |
|
3 |
Modified: celery.initd |
4 |
Log: |
5 |
Fix 'status' action in init script and remove some old ebuilds. |
6 |
|
7 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-python/celery/files/celery.initd |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celery/files/celery.initd?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celery/files/celery.initd?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/celery/files/celery.initd?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: celery.initd |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/celery/files/celery.initd,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- celery.initd 9 Feb 2013 13:49:36 -0000 1.4 |
23 |
+++ celery.initd 6 Mar 2013 09:16:20 -0000 1.5 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the BSD license |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/files/celery.initd,v 1.4 2013/02/09 13:49:36 iksaif Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/celery/files/celery.initd,v 1.5 2013/03/06 09:16:20 iksaif Exp $ |
30 |
|
31 |
extra_started_commands="reload" |
32 |
|
33 |
@@ -30,7 +30,7 @@ |
34 |
|
35 |
if yesno "$CELERY_DJANGO"; then |
36 |
CELERYD=${CELERYD:-"celeryd_detach"} |
37 |
- CELERYCTL=${CELERYCTL:-"python manage.py celeryd"} |
38 |
+ CELERYCTL=${CELERYCTL:-"python manage.py celery"} |
39 |
CELERYD_MULTI=${CELERYD_MULTI:-"python manage.py celeryd_multi"} |
40 |
CELERYBEAT=${CELERYBEAT:-"python manage.py celerybeat"} |
41 |
CELERYEV=${CELERYEV:-"python manage.py celeryev"} |
42 |
@@ -263,5 +263,6 @@ |
43 |
status() { |
44 |
checkconfig || return 1 |
45 |
|
46 |
- ${CELERYCTL} status |
47 |
+ celery_chdir && \ |
48 |
+ ${CELERYCTL} status |
49 |
} |