Deluge (Ubuntu 20.04): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 18: | Zeile 18: | ||
<pre> | <pre> | ||
sudo vi /etc/systemd/system/deluged.service | sudo vi /etc/systemd/system/deluged.service | ||
</pre> | |||
<pre> | |||
[Unit] | |||
Description=Deluge Bittorrent Client Daemon | |||
Documentation=man:deluged | |||
After=network-online.target | |||
[Service] | |||
Type=simple | |||
UMask=007 | |||
ExecStart=/usr/bin/deluged -d | |||
Restart=on-failure | |||
# Time to wait before forcefully stopped. | |||
TimeoutStopSec=300 | |||
[Install] | |||
WantedBy=multi-user.target | |||
</pre> | |||
<pre> | |||
sudo mkdir /etc/systemd/system/deluged.service.d/ | |||
</pre> | |||
<pre> | |||
sudo vi /etc/systemd/system/deluged.service.d/user.conf | |||
</pre> | |||
<pre> | |||
</pre> | </pre> | ||
Zurück zu [[Deluge (unterschiedliche Versionen)|Deluge]] | Zurück zu [[Deluge (unterschiedliche Versionen)|Deluge]] |
Version vom 24. April 2020, 11:35 Uhr
Installation
sudo apt-get install -y deluge deluged deluge-web
Konfiguration
systemd
System-Benutzer anlegen
sudo adduser --system --gecos "Deluge Service" --disabled-password --group --home /var/lib/deluge deluge
sudo vi /etc/systemd/system/deluged.service
[Unit] Description=Deluge Bittorrent Client Daemon Documentation=man:deluged After=network-online.target [Service] Type=simple UMask=007 ExecStart=/usr/bin/deluged -d Restart=on-failure # Time to wait before forcefully stopped. TimeoutStopSec=300 [Install] WantedBy=multi-user.target
sudo mkdir /etc/systemd/system/deluged.service.d/
sudo vi /etc/systemd/system/deluged.service.d/user.conf
Zurück zu Deluge