File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
provisioning/etc/systemd/system Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ User=gitconsensus
88Group =gitconsensus
99EnvironmentFile =-/etc/gitconsensus/celery
1010WorkingDirectory =${CELERY_HOME}
11- ExecStart =/bin/sh -c 'source ${CELERY_HOME}/venv/ bin/activate && ${CELERY_BIN} multi start ${CELERYD_NODES} -A ${CELERY_APP} --pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
12- ExecStop =/bin/sh -c 'source ${CELERY_HOME}/venv/ bin/activate && ${CELERY_BIN} multi stopwait ${CELERYD_NODES} --pidfile=${CELERYD_PID_FILE}'
13- ExecReload =/bin/sh -c 'source ${CELERY_HOME}/venv/ bin/activate && ${CELERY_BIN} multi restart ${CELERYD_NODES} -A ${CELERY_APP} --pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
11+ ExecStart =/bin/sh -c 'source ${CELERY_HOME}/bin/envvar && ${CELERY_BIN} multi start ${CELERYD_NODES} -A ${CELERY_APP} --pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
12+ ExecStop =/bin/sh -c 'source ${CELERY_HOME}/bin/envvar && ${CELERY_BIN} multi stopwait ${CELERYD_NODES} --pidfile=${CELERYD_PID_FILE}'
13+ ExecReload =/bin/sh -c 'source ${CELERY_HOME}/bin/envvar && ${CELERY_BIN} multi restart ${CELERYD_NODES} -A ${CELERY_APP} --pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL} ${CELERYD_OPTS}'
1414
1515[Install]
1616WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments