Don't use pidfile, supervisor handles that
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ user = mayan
|
|||||||
[program:mayan-celery-beat]
|
[program:mayan-celery-beat]
|
||||||
autorestart = true
|
autorestart = true
|
||||||
autostart = true
|
autostart = true
|
||||||
command = nice -n 1 {{ installation_path }}/bin/mayan-edms.py celery beat -l ERROR
|
command = nice -n 1 {{ installation_path }}/bin/mayan-edms.py celery beat --pidfile= -l ERROR
|
||||||
killasgroup = true
|
killasgroup = true
|
||||||
numprocs = 1
|
numprocs = 1
|
||||||
priority = 998
|
priority = 998
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ user = mayan
|
|||||||
[program:mayan-celery-beat]
|
[program:mayan-celery-beat]
|
||||||
autorestart = false
|
autorestart = false
|
||||||
autostart = true
|
autostart = true
|
||||||
command = nice -n 1 /bin/bash -c "${MAYAN_BIN} celery --settings=${MAYAN_SETTINGS_MODULE} beat -l ERROR"
|
command = nice -n 1 /bin/bash -c "${MAYAN_BIN} celery --settings=${MAYAN_SETTINGS_MODULE} beat --pidfile= -l ERROR"
|
||||||
killasgroup = true
|
killasgroup = true
|
||||||
numprocs = 1
|
numprocs = 1
|
||||||
priority = 998
|
priority = 998
|
||||||
|
|||||||
Reference in New Issue
Block a user