diff init.d/celeryd-upstart.conf @ 7417:1d539bb18165

cli: convert 'gearbox celeryd' into 'kallithea-cli celery-run' Note: - '--' is never explicitly present in the arguments when using Click. The click parser will take care of '--' as separator between dash-dash-arguments and positional arguments, following standard UNIX conventions.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sun, 18 Nov 2018 20:02:17 +0100
parents 2c3d30095d5e
children
line wrap: on
line diff
--- a/init.d/celeryd-upstart.conf	Sun Nov 18 20:02:17 2018 +0100
+++ b/init.d/celeryd-upstart.conf	Sun Nov 18 20:02:17 2018 +0100
@@ -21,7 +21,7 @@
 # env GROUP=hg
 
 script
-    COMMAND="/var/hg/.virtualenvs/kallithea/bin/gearbox celeryd -c $APPINI -- --pidfile=$PIDFILE"
+    COMMAND="/var/hg/.virtualenvs/kallithea/bin/kallithea-cli celery-run -c $APPINI -- --pidfile=$PIDFILE"
     if [ -z "$GROUP" ]; then
         exec sudo -u $USER $COMMAND
     else