run aria2 exporter as non-root user
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3e566f227e
commit
d9778d34a6
|
@ -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
|
||||
|
|
Reference in a new issue