-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.txt
65 lines (43 loc) · 1.41 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#Deluge BitTorrent Client on Ubuntu 16.04/14.04 (use raw version)
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update -y
sudo apt-get install deluge-webui deluged -y
sudo adduser --system --gecos "Deluge Service" --disabled-password --group --home /var/lib/deluge deluge
sudo gpasswd -a your-user-name deluge
sudo nano /etc/systemd/system/deluged.service #Copy and paste the following lines into the file. 14-34 between
---------------------------------------------------
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target
[Service]
Type=simple
User=deluge
Group=deluge
UMask=007
ExecStart=/usr/bin/deluged -d
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
-------------------------------------------------
systemctl start deluged
systemctl enable deluged
sudo nano /etc/systemd/system/deluge-web.service #Copy and paste the following texts into the file. 41-59 between
-------------------------------------------------
[Unit]
Description=Deluge Bittorrent Client Web Interface
After=network-online.target
[Service]
Type=simple
User=deluge
Group=deluge
UMask=027
ExecStart=/usr/bin/deluge-web
Restart=on-failure
[Install]
WantedBy=multi-user.target
---------------------------------------------
systemctl start deluge-web
systemctl enable deluge-web
your-server-ip:8112