39 lines
783 B
Text
39 lines
783 B
Text
|
[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
|