not run as root
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
[supervisord]
|
[supervisord]
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
|
user=nginx
|
||||||
|
logfile=/tmp/supervisord.log
|
||||||
|
|
||||||
[program:nginx]
|
[program:nginx]
|
||||||
command=nginx -g "daemon off;"
|
command=nginx -g "daemon off;"
|
||||||
@@ -20,7 +22,7 @@ stderr_logfile=/dev/stderr
|
|||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[eventlistener:feed-update]
|
[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
|
events=TICK_60
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
|||||||
Reference in New Issue
Block a user