Update systemd service files

- Add man page link
 - Ensure deluge-web is not daemonised
This commit is contained in:
Calum Lind 2017-06-23 10:06:37 +01:00
parent ce3a8c0c17
commit a7c4228ce7
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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]