1
0
Fork 0
This repository has been archived on 2025-01-12. You can view files and clone it, but cannot push or open issues or pull requests.
pterodactyl-panel-docker/services/php/supervisord.conf

39 lines
783 B
Text
Raw Normal View History

2017-12-23 15:11:21 -08:00
[supervisord]
nodaemon=true
[program:cron]
process_name=%(program_name)s
command=crond -f
autostart=true
autorestart=true
user=root
[program:install]
process_name=%(program_name)s
command=./install
autostart=true
autorestart=false
exitcodes=0
user=www-data
directory=/var/www/html/pterodactyl
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/pterodactyl/artisan queue:work database --queue=high,standard,low --sleep=3 --tries=3
autostart=true
autorestart=true
user=www-data
numprocs=8
redirect_stderr=true
stdout_logfile=/var/log/pterodactyl/worker.log
[program:php]
process_name=%(program_name)s
command=php-fpm
autostart=true
autorestart=true
user=root