not run as root

This commit is contained in:
2018-12-15 11:11:05 +01:00
parent 85f6728e96
commit 08119e710a

View File

@@ -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