27 lines
850 B
Plaintext
27 lines
850 B
Plaintext
[program:mayan-worker]
|
|
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production worker -Ofair -l ERROR
|
|
directory = /usr/share/mayan-edms
|
|
user = www-data
|
|
stdout_logfile = /var/log/mayan/worker-stdout.log
|
|
stderr_logfile = /var/log/mayan/worker-stderr.log
|
|
autostart = true
|
|
autorestart = true
|
|
startsecs = 10
|
|
stopwaitsecs = 10
|
|
killasgroup = true
|
|
priority = 998
|
|
|
|
[program:mayan-beat]
|
|
command = /usr/share/mayan-edms/bin/python /usr/share/mayan-edms/bin/mayan-edms.py celery --settings=mayan.settings.production beat -l ERROR
|
|
directory = /usr/share/mayan-edms
|
|
user = www-data
|
|
numprocs = 1
|
|
stdout_logfile = /var/log/mayan/beat-stdout.log
|
|
stderr_logfile = /var/log/mayan/beat-stderr.log
|
|
autostart = true
|
|
autorestart = true
|
|
startsecs = 10
|
|
stopwaitsecs = 1
|
|
killasgroup = true
|
|
priority = 998
|