From d9778d34a60e6145ca7ca6eda78c1a24c59bb046 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 15 May 2019 15:29:51 +0000 Subject: [PATCH] run aria2 exporter as non-root user --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 05d6915..f7ab0c5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ if ! [ -z $NGINX_LISTEN_SOCKET ]; then fi nginx -ARIA2_URL=http://localhost:6800 /aria2_exporter & +ARIA2_URL=http://localhost:6800 su-exec $UID /aria2_exporter & touch /data/torrents chown $UID /data/torrents