* Included .env file to systemd service
This commit is contained in:
parent
c7c4b5fd78
commit
b089a2dec5
|
|
@ -8,6 +8,7 @@ Type=forking
|
||||||
User=poizon
|
User=poizon
|
||||||
Group=poizon
|
Group=poizon
|
||||||
EnvironmentFile=/etc/default/celery-stage
|
EnvironmentFile=/etc/default/celery-stage
|
||||||
|
EnvironmentFile=/var/www/poizonstore-stage/.env
|
||||||
WorkingDirectory=/var/www/poizonstore-stage
|
WorkingDirectory=/var/www/poizonstore-stage
|
||||||
RuntimeDirectory=celery
|
RuntimeDirectory=celery
|
||||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A $CELERY_APP multi start $CELERYD_NODES \
|
ExecStart=/bin/sh -c '${CELERY_BIN} -A $CELERY_APP multi start $CELERYD_NODES \
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ Type=simple
|
||||||
User=poizon
|
User=poizon
|
||||||
Group=poizon
|
Group=poizon
|
||||||
EnvironmentFile=/etc/default/celery-stage
|
EnvironmentFile=/etc/default/celery-stage
|
||||||
|
EnvironmentFile=/var/www/poizonstore-stage/.env
|
||||||
WorkingDirectory=/var/www/poizonstore-stage
|
WorkingDirectory=/var/www/poizonstore-stage
|
||||||
RuntimeDirectory=celery
|
RuntimeDirectory=celery
|
||||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat \
|
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user