File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ stop_worker () {
146146 --quiet \
147147 $* \
148148 --pidfile $CELERYBEAT_PID_FILE "
149- if ` $cmd ` ; then
149+ if $cmd ; then
150150 log_end_msg 0
151151 else
152152 log_end_msg 1
@@ -162,7 +162,7 @@ start_worker () {
162162 $* \
163163 --pidfile $CELERYBEAT_PID_FILE
164164 --exec $CELERYBEAT -- $CELERYBEAT_OPTS "
165- if ` $cmd ` ; then
165+ if $cmd ; then
166166 log_end_msg 0
167167 else
168168 log_end_msg 1
Original file line number Diff line number Diff line change 8080CELERYD_PID_FILE=" /var/run/celeryd.pid"
8181CELERYD_LOG_FILE=" /var/log/celeryd.log"
8282CELERYD_LOG_LEVEL=" INFO"
83- DEFAULT_CELERYD=" celeryd"
83+ DEFAULT_CELERYD=" /usr/bin/ celeryd"
8484
8585# /etc/init.d/ssh: start and stop the celery task worker daemon.
8686
@@ -140,7 +140,7 @@ stop_worker () {
140140 --quiet \
141141 $* \
142142 --pidfile $CELERYD_PID_FILE "
143- if ` $cmd ` ; then
143+ if $cmd ; then
144144 log_end_msg 0
145145 else
146146 log_end_msg 1
@@ -156,7 +156,7 @@ start_worker () {
156156 $* \
157157 --pidfile $CELERYD_PID_FILE
158158 --exec $CELERYD -- $CELERYD_OPTS "
159- if ` $cmd ` ; then
159+ if $cmd ; then
160160 log_end_msg 0
161161 else
162162 log_end_msg 1
You can’t perform that action at this time.
0 commit comments