Don't use pidfile, supervisor handles that

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-13 21:26:31 -04:00
parent 92e12f3ec5
commit 2f998ab4ce
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ user = mayan
[program:mayan-celery-beat]
autorestart = 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
numprocs = 1
priority = 998

View File

@@ -39,7 +39,7 @@ user = mayan
[program:mayan-celery-beat]
autorestart = false
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
numprocs = 1
priority = 998