Update supervisord.conf
This commit is contained in:
@@ -17,6 +17,7 @@ directory=/www
|
|||||||
command=sh -c "chown -R www:www /www && chmod -R 775 /www"
|
command=sh -c "chown -R www:www /www && chmod -R 775 /www"
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=false
|
autorestart=false
|
||||||
|
priority=1
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -25,6 +26,7 @@ stderr_logfile_maxbytes=0
|
|||||||
[program:nginx]
|
[program:nginx]
|
||||||
command=nginx -g 'daemon off;'
|
command=nginx -g 'daemon off;'
|
||||||
user=root
|
user=root
|
||||||
|
priority=5
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -36,6 +38,7 @@ startretries=10
|
|||||||
[program:cron]
|
[program:cron]
|
||||||
command=crond -f -l 8
|
command=crond -f -l 8
|
||||||
user=root
|
user=root
|
||||||
|
priority=4
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -62,6 +65,8 @@ command=php -c php.ini webman.php start
|
|||||||
directory=/www
|
directory=/www
|
||||||
user=www
|
user=www
|
||||||
numprocs=1
|
numprocs=1
|
||||||
|
priority=2
|
||||||
|
startsecs=3
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
@@ -74,6 +79,7 @@ startretries=10
|
|||||||
command=php artisan horizon
|
command=php artisan horizon
|
||||||
directory=/www
|
directory=/www
|
||||||
user=www
|
user=www
|
||||||
|
priority=3
|
||||||
stdout_logfile=/www/storage/logs/queue.log
|
stdout_logfile=/www/storage/logs/queue.log
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/www/storage/logs/queue_error.log
|
stderr_logfile=/www/storage/logs/queue_error.log
|
||||||
|
|||||||
Reference in New Issue
Block a user