* RuntimeDirectory for Celery services
This commit is contained in:
parent
c0f17df7a6
commit
24c23ebecb
|
|
@ -9,6 +9,7 @@ User=celery
|
|||
Group=celery
|
||||
EnvironmentFile=/etc/default/celery
|
||||
WorkingDirectory=/var/www/phzhik-poizonstore
|
||||
RuntimeDirectory=celery
|
||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A $CELERY_APP multi start $CELERYD_NODES \
|
||||
--pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} \
|
||||
--loglevel="${CELERYD_LOG_LEVEL}" $CELERYD_OPTS'
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ User=celery
|
|||
Group=celery
|
||||
EnvironmentFile=/etc/default/celery
|
||||
WorkingDirectory=/var/www/phzhik-poizonstore
|
||||
RuntimeDirectory=celery
|
||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat \
|
||||
--pidfile=${CELERYBEAT_PID_FILE} \
|
||||
--logfile=${CELERYBEAT_LOG_FILE} --loglevel=${CELERYD_LOG_LEVEL}'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user