From 7168ddff839b50ef285f71c580c74cb489d5bacc Mon Sep 17 00:00:00 2001 From: Jake Howard <RealOrangeOne@users.noreply.github.com> Date: Sun, 13 Sep 2020 13:44:33 +0100 Subject: [PATCH] Don't run the web process as root (#28) --- etc/supervisord.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/supervisord.conf b/etc/supervisord.conf index ae0a13a..c91c786 100644 --- a/etc/supervisord.conf +++ b/etc/supervisord.conf @@ -10,8 +10,9 @@ stderr_logfile_maxbytes=0 [program:gunicorn] command=gunicorn -c /opt/apprise/webapp/gunicorn.conf.py --worker-tmp-dir /dev/shm core.wsgi +user=www-data directory=/opt/apprise/webapp stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr -stderr_logfile_maxbytes=0 \ No newline at end of file +stderr_logfile_maxbytes=0