* Cleanup in deploy configs
This commit is contained in:
parent
b888da0863
commit
f694241659
|
|
@ -5,7 +5,7 @@ CELERYD_NODES="w1"
|
||||||
#CELERYD_NODES="w1 w2 w3"
|
#CELERYD_NODES="w1 w2 w3"
|
||||||
|
|
||||||
# Absolute or relative path to the 'celery' command:
|
# Absolute or relative path to the 'celery' command:
|
||||||
CELERY_BIN="/var/www/phzhik-poizonstore/env/bin/celery"
|
CELERY_BIN="/var/www/poizonstore/env/bin/celery"
|
||||||
|
|
||||||
# App instance to use
|
# App instance to use
|
||||||
CELERY_APP="poizonstore"
|
CELERY_APP="poizonstore"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ Type=forking
|
||||||
User=poizon
|
User=poizon
|
||||||
Group=poizon
|
Group=poizon
|
||||||
EnvironmentFile=/etc/default/celery
|
EnvironmentFile=/etc/default/celery
|
||||||
WorkingDirectory=/var/www/phzhik-poizonstore
|
WorkingDirectory=/var/www/poizonstore
|
||||||
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 \
|
||||||
--pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} \
|
--pidfile=${CELERYD_PID_FILE} --logfile=${CELERYD_LOG_FILE} \
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=poizon
|
User=poizon
|
||||||
Group=poizon
|
Group=poizon
|
||||||
EnvironmentFile=/etc/default/celery
|
EnvironmentFile=/etc/default/celery
|
||||||
WorkingDirectory=/var/www/phzhik-poizonstore
|
WorkingDirectory=/var/www/poizonstore
|
||||||
RuntimeDirectory=celery
|
RuntimeDirectory=celery
|
||||||
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat \
|
ExecStart=/bin/sh -c '${CELERY_BIN} -A ${CELERY_APP} beat \
|
||||||
--pidfile=${CELERYBEAT_PID_FILE} \
|
--pidfile=${CELERYBEAT_PID_FILE} \
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
WORK_DIR="/var/www/phzhik-poizonstore"
|
WORK_DIR="/var/www/poizonstore"
|
||||||
CELERY_BIN="/var/www/phzhik-poizonstore/env/bin"
|
CELERY_BIN="/var/www/poizonstore/env/bin"
|
||||||
PROJECT_NAME="poizonstore"
|
PROJECT_NAME="poizonstore"
|
||||||
|
|
||||||
# Wait for worker to start
|
# Wait for worker to start
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user