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