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
8
8
Group =gitconsensus
9
9
EnvironmentFile =-/etc/gitconsensus/celery
10
10
WorkingDirectory =${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}'
14
14
15
15
[Install]
16
16
WantedBy =multi-user.target
You can’t perform that action at this time.
0 commit comments