From 85f6728e962b697dcb0846c40484db4ee642ae64 Mon Sep 17 00:00:00 2001 From: Mathieu Bruyen Date: Sat, 15 Dec 2018 11:06:28 +0100 Subject: [PATCH] event protocol --- supervisor.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor.conf b/supervisor.conf index 63ac2c4..3c971d0 100644 --- a/supervisor.conf +++ b/supervisor.conf @@ -20,7 +20,7 @@ stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [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 autostart=true autorestart=true