3 getent group utserver &>/dev/null || groupadd --system utserver
4 if getent passwd utserver &>/dev/null
6 usermod -c 'utorrent-server' -d /srv/utserver -s /bin/false utserver &>/dev/null
8 useradd -c 'utorrent-server' --system -g utserver -d /srv/utserver -s /bin/false utserver &>/dev/null
10 passwd -l utserver &>/dev/null
12 chown utserver:utserver /srv/utserver/{.,downloads,settings,torrents}
13 chown utserver:utserver /var/{run,log}/utserver
16 >>> utserver daemon runs by default as "utserver" user
17 You can change the user by editing /etc/conf.d/utserver
18 The default download directory is /srv/utserver/downloads/
19 The default web UI is http://admin:@localhost:8080/gui/
20 If utserver has CPU-usage issues, try enabling 'net.low_cpu' in the
33 getent passwd utserver &>/dev/null && userdel utserver
34 getent group utserver &>/dev/null && groupdel utserver