2023-11-17 01:44:01 -05:00
|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
2024-04-12 04:37:21 -04:00
|
|
|
user=root
|
2023-11-17 01:44:01 -05:00
|
|
|
logfile=/dev/null
|
|
|
|
logfile_maxbytes=0
|
|
|
|
pidfile=/tmp/supervisord.pid
|
|
|
|
|
2024-05-14 06:10:15 -04:00
|
|
|
[unix_http_server]
|
|
|
|
file=/run/supervisord.sock
|
|
|
|
chmod=0700
|
|
|
|
|
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[program:chown]
|
|
|
|
directory=/www
|
|
|
|
command=sh -c "chown -R www:www /www && chmod -R 775 /www"
|
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
2023-11-17 01:44:01 -05:00
|
|
|
[program:nginx]
|
|
|
|
command=nginx -g 'daemon off;'
|
|
|
|
user=root
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startretries=10
|
|
|
|
|
|
|
|
[program:cron]
|
|
|
|
command=crond -f -l 8
|
2024-04-12 04:37:21 -04:00
|
|
|
user=root
|
2023-11-17 01:44:01 -05:00
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startretries=10
|
|
|
|
|
|
|
|
; [program:laravels]
|
|
|
|
; command=php bin/laravels start
|
|
|
|
; directory=/www
|
|
|
|
; user=www-data
|
|
|
|
; numprocs=1
|
|
|
|
; stdout_logfile=/dev/stdout
|
|
|
|
; stdout_logfile_maxbytes=0
|
|
|
|
; stderr_logfile=/dev/stderr
|
|
|
|
; stderr_logfile_maxbytes=0
|
|
|
|
; autostart=true
|
|
|
|
; autorestart=true
|
|
|
|
; startretries=3
|
|
|
|
|
|
|
|
[program:adapterman]
|
|
|
|
command=php -c php.ini webman.php start
|
|
|
|
directory=/www
|
2024-04-11 08:37:46 -04:00
|
|
|
user=www
|
2023-11-17 01:44:01 -05:00
|
|
|
numprocs=1
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2024-05-14 06:10:15 -04:00
|
|
|
startretries=10
|
2023-11-17 01:44:01 -05:00
|
|
|
|
|
|
|
[program:xboard-queue]
|
|
|
|
command=php artisan horizon
|
|
|
|
directory=/www
|
2024-04-11 08:37:46 -04:00
|
|
|
user=www
|
2023-11-17 01:44:01 -05:00
|
|
|
stdout_logfile=/www/storage/logs/queue.log
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/www/storage/logs/queue_error.log
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
|
|
|
startretries=10
|