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