diff --git a/supervisor.conf b/supervisor.conf index 3c971d0..5e82d72 100644 --- a/supervisor.conf +++ b/supervisor.conf @@ -1,5 +1,7 @@ [supervisord] nodaemon=true +user=nginx +logfile=/tmp/supervisord.log [program:nginx] command=nginx -g "daemon off;" @@ -20,7 +22,7 @@ stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [eventlistener:feed-update] -command=php7 -r 'while (true) { print("READY\n"); readline(); print("feeds update"); passthru("php7 /var/lib/tt-rss/update.php --daemon-loop"); print("RESULT 2\nOK"); }' +command=php7 -r 'while (true) { print("READY\n"); readline(); passthru("php7 /var/lib/tt-rss/update.php --daemon-loop"); print("RESULT 2\nOK\n"); }' events=TICK_60 autostart=true autorestart=true