event protocol

This commit is contained in:
2018-12-15 11:06:28 +01:00
parent 83b2a5cf4a
commit 85f6728e96

View File

@@ -20,7 +20,7 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0 stderr_logfile_maxbytes=0
[eventlistener:feed-update] [eventlistener:feed-update]
command=php7 -r 'while (true) { readline(); print("feeds update"); passthru("php7 /var/lib/tt-rss/update.php --daemon-loop"); }' 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"); }'
events=TICK_60 events=TICK_60
autostart=true autostart=true
autorestart=true autorestart=true