close supervisord on fatal + full binary paths
This commit is contained in:
@@ -4,7 +4,7 @@ user=nginx
|
||||
logfile=/tmp/supervisord.log
|
||||
|
||||
[program:nginx]
|
||||
command=nginx -g "daemon off;"
|
||||
command=/usr/sbin/nginx -g "daemon off;"
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/stdout
|
||||
@@ -13,7 +13,7 @@ stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[program:php-fpm]
|
||||
command=php-fpm7 -F
|
||||
command=/usr/sbin/php-fpm7 -F
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/stdout
|
||||
@@ -22,7 +22,7 @@ stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[eventlistener:feed-update]
|
||||
command=php7 -r 'while (true) { print("READY\n"); readline(); passthru("php7 /var/lib/tt-rss/update.php --daemon-loop"); print("RESULT 2\nOK\n"); }'
|
||||
command=/usr/bin/php7 -r 'while (true) { print("READY\n"); readline(); passthru("/usr/bin/php7 /var/lib/tt-rss/update.php --daemon-loop"); print("RESULT 2\nOK\n"); }'
|
||||
events=TICK_60
|
||||
autostart=true
|
||||
autorestart=true
|
||||
@@ -30,3 +30,7 @@ stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[eventlistener:quit_on_failure]
|
||||
events=PROCESS_STATE_FATAL
|
||||
command=/usr/bin/python /var/lib/tt-rss-install/manage-supervisord.py
|
||||
|
||||
Reference in New Issue
Block a user