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