Bot Discord - Commit completo con todos los cambios
This commit is contained in:
19
docker/supervisor/translation-worker.conf
Executable file
19
docker/supervisor/translation-worker.conf
Executable file
@@ -0,0 +1,19 @@
|
||||
[program:translation-worker]
|
||||
command=/usr/bin/php /var/www/html/bot/process_translation_queue.php
|
||||
directory=/var/www/html/bot/
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/www/html/bot/logs/translation-worker.out.log
|
||||
stderr_logfile=/var/www/html/bot/logs/translation-worker.err.log
|
||||
redirect_stderr=true
|
||||
|
||||
[program:queue-processor]
|
||||
command=/bin/bash -c "while true; do sleep 60; /usr/bin/php /var/www/html/bot/process_queue.php; done"
|
||||
directory=/var/www/html/bot/
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/www/html/bot/logs/queue-processor.out.log
|
||||
stderr_logfile=/var/www/html/bot/logs/queue-processor.err.log
|
||||
redirect_stderr=true
|
||||
Reference in New Issue
Block a user