mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
[unix_http_server]
|
|
file=/opt/supervisor.sock ; the path to the socket file
|
|
chmod=0700 ; socket file mode (default 0700)
|
|
chown=root:supervisor ; socket file uid:gid owner
|
|
|
|
[supervisord]
|
|
user=root
|
|
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
|
|
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
|
|
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:////var/run/supervisor.sock
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[program:php-fpm]
|
|
command=/usr/sbin/php-fpm8.4 --nodaemonize -c /etc/php/8.4/fpm/php-fpm.conf
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
autostart=true
|
|
autorestart=true
|
|
startretries=5
|
|
numprocs=1
|
|
startsecs=0
|
|
redirect_stderr=true
|
|
|
|
[program:horizon]
|
|
process_name=%(program_name)s
|
|
command=php /var/www/html/artisan horizon
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/www/html/storage/logs/horizon.log
|
|
|
|
[program:cron]
|
|
command=/usr/sbin/cron -f -l 8
|
|
autostart=true
|
|
stdout_logfile=/var/log/cron.out.log
|
|
redirect_stderr=true
|