Tweaked supervisor definitions
All checks were successful
dockerbuild / Build docker image (push) Successful in 1m18s
All checks were successful
dockerbuild / Build docker image (push) Successful in 1m18s
This commit is contained in:
parent
5392cca13b
commit
d34e0b928e
7
CHANGES.md
Normal file
7
CHANGES.md
Normal file
@ -0,0 +1,7 @@
|
||||
# Changes
|
||||
|
||||
## 7 Feb 2024
|
||||
|
||||
- Removed all but the FATAL condition from the watchdog.
|
||||
- Made the services retry 3 times to properly start.
|
||||
- This should make it easier to add short-lived workers.
|
@ -1,7 +1,9 @@
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
||||
autostart=true
|
||||
autorestart=false
|
||||
autorestart=true
|
||||
startretries=3
|
||||
startsecs=10
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
|
@ -1,7 +1,9 @@
|
||||
[program:php-fpm]
|
||||
command=/usr/sbin/php-fpm83 -F
|
||||
autostart=true
|
||||
autorestart=false
|
||||
autorestart=true
|
||||
startretries=3
|
||||
startsecs=10
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
|
@ -1,3 +1,4 @@
|
||||
[eventlistener:watchdog]
|
||||
command=sh -c "echo READY && read line && kill -SIGQUIT $PPID"
|
||||
events=PROCESS_STATE_STOPPED,PROCESS_STATE_EXITED,PROCESS_STATE_FATAL
|
||||
events=PROCESS_STATE_FATAL
|
||||
; used to also have PROCESS_STATE_STOPPED,PROCESS_STATE_EXITED,
|
||||
|
Loading…
Reference in New Issue
Block a user