Deluge (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Web UI) |
(→Dämon) |
||
Zeile 52: | Zeile 52: | ||
env umask=007 | env umask=007 | ||
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d | # exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d | ||
exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d -l /var/log/deluge/daemon.log -L warning | |||
</pre> | </pre> | ||
Version vom 19. Dezember 2016, 00:43 Uhr
Noch in Bearbeitung
Installation
Basis
sudo add-apt-repository ppa:deluge-team/ppa sudo apt-get update sudo apt-get install deluge
Dämon
sudo apt-get install deluged
Systembenutzer anlegen:
sudo adduser --system --group --home /var/lib/deluge deluge
Eigenen Benutzer der Gruppe hinzufügen:
sudo adduser <username> deluge
sudo vi /etc/init/deluged.conf
Und mit folgendem Inhalt befüllen:
# deluged - Deluge daemon # # The daemon component of Deluge BitTorrent client. Deluge UI clients # connect to this daemon via DelugeRPC protocol. description "Deluge daemon" author "Deluge Team" start on filesystem and static-network-up stop on runlevel [016] respawn respawn limit 5 30 env uid=deluge env gid=deluge env umask=007 # exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluged -- -d -l /var/log/deluge/daemon.log -L warning
Web UI
sudo apt-get install deluge-web
sudo vi /etc/init/deluge-web.conf
und mit folgendem Inhalt befüllen:
# deluge-web - Deluge Web UI # # The Web UI component of Deluge BitTorrent client, connects to deluged and # provides a web application interface for users. Default url: http://localhost:8112 description "Deluge Web UI" author "Deluge Team" start on started deluged stop on stopping deluged respawn respawn limit 5 30 env uid=deluge env gid=deluge env umask=027 exec start-stop-daemon -S -c $uid:$gid -k $umask -x /usr/bin/deluge-web
Logging
sudo mkdir -p /var/log/deluge sudo chown -R deluge:deluge /var/log/deluge sudo chmod -R 750 /var/log/deluge
Links
Zurück zu Ubuntu