run aria2 exporter as non-root user
continuous-integration/drone/push Build is passing Details

master
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
1 changed files with 1 additions and 1 deletions

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