From adc1b3bea603a98f59e3ed004c21abf98e20f91f Mon Sep 17 00:00:00 2001 From: Mathieu Bruyen Date: Sat, 15 Dec 2018 11:47:20 +0100 Subject: [PATCH] update in current dir --- supervisor.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor.conf b/supervisor.conf index e28047a..f1c79a2 100644 --- a/supervisor.conf +++ b/supervisor.conf @@ -20,7 +20,7 @@ stderr_logfile_maxbytes=0 [eventlistener:feed-update] user=ttrss -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"); }' +command=/usr/bin/php7 -r 'chdir("/var/lib/tt-rss"); 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 autorestart=true stdout_logfile=/dev/stdout