run aria2 exporter as non-root user
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-05-15 15:29:51 +00:00
parent 3e566f227e
commit d9778d34a6
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

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