mirror of
https://github.com/pelican-dev/panel.git
synced 2025-03-14 09:57:36 +00:00
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
[unix_http_server]
|
|
file=/tmp/supervisor.sock ; path to your socket file
|
|
username=dummy
|
|
password=dummy
|
|
|
|
[supervisord]
|
|
logfile=/var/www/html/storage/logs/supervisord/supervisord.log ; supervisord log file
|
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
|
logfile_backups=2 ; number of backed up logfiles
|
|
loglevel=error ; info, debug, warn, trace
|
|
pidfile=/var/run/supervisord/supervisord.pid ; pidfile location
|
|
nodaemon=true ; run supervisord as a daemon
|
|
minfds=1024 ; number of startup file descriptors
|
|
minprocs=200 ; number of process descriptors
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
|
|
username=dummy
|
|
password=dummy
|
|
|
|
[program:php-fpm]
|
|
command=/usr/local/sbin/php-fpm -F
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:queue-worker]
|
|
command=/usr/local/bin/php /var/www/html/artisan queue:work --tries=3
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:caddy]
|
|
command=caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
|
autostart=%(ENV_SUPERVISORD_CADDY)s
|
|
autorestart=%(ENV_SUPERVISORD_CADDY)s
|
|
priority=10
|
|
stdout_logfile=/dev/fd/1
|
|
stdout_logfile_maxbytes=0
|
|
redirect_stderr=true
|
|
|
|
[program:supercronic]
|
|
command=supercronic -overlapping /etc/supercronic/crontab
|
|
autostart=true
|
|
autorestart=true
|
|
redirect_stderr=true
|