summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2017-06-23 11:06:37 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2017-06-23 11:12:07 +0200
commita7c4228ce79bdd7b8658322173430773c06bbc24 (patch)
treee8bf947e149c8ce4bd78a76b8a5b00065bb29083 /packaging
parent[Travis] Pin to older trusty build (diff)
downloaddeluge-a7c4228ce79bdd7b8658322173430773c06bbc24.tar.xz
deluge-a7c4228ce79bdd7b8658322173430773c06bbc24.zip
Update systemd service files
- Add man page link - Ensure deluge-web is not daemonised
Diffstat (limited to 'packaging')
-rw-r--r--packaging/systemd/deluge-web.service6
-rw-r--r--packaging/systemd/deluged.service3
2 files changed, 6 insertions, 3 deletions
diff --git a/packaging/systemd/deluge-web.service b/packaging/systemd/deluge-web.service
index 630485363..9e8ca5eef 100644
--- a/packaging/systemd/deluge-web.service
+++ b/packaging/systemd/deluge-web.service
@@ -1,6 +1,8 @@
[Unit]
Description=Deluge Bittorrent Client Web Interface
-After=network-online.target
+Documentation=man:deluge-web
+After=network-online.target deluged.service
+Wants=deluged.service
[Service]
Type=simple
@@ -9,7 +11,7 @@ User=deluge
Group=deluge
UMask=027
-ExecStart=/usr/bin/deluge-web
+ExecStart=/usr/bin/deluge-web -d
Restart=on-failure
diff --git a/packaging/systemd/deluged.service b/packaging/systemd/deluged.service
index 7ef2c4a0f..7541548d4 100644
--- a/packaging/systemd/deluged.service
+++ b/packaging/systemd/deluged.service
@@ -1,5 +1,6 @@
[Unit]
Description=Deluge Bittorrent Client Daemon
+Documentation=man:deluged
After=network-online.target
[Service]
@@ -12,7 +13,7 @@ ExecStart=/usr/bin/deluged -d
Restart=on-failure
-# Configures the time to wait before service is stopped forcefully.
+# Time to wait before forcefully stopped.
TimeoutStopSec=300
[Install]