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
commit a7c4228ce7
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,8 @@
[Unit] [Unit]
Description=Deluge Bittorrent Client Web Interface Description=Deluge Bittorrent Client Web Interface
After=network-online.target Documentation=man:deluge-web
After=network-online.target deluged.service
Wants=deluged.service
[Service] [Service]
Type=simple Type=simple
@ -9,7 +11,7 @@ User=deluge
Group=deluge Group=deluge
UMask=027 UMask=027
ExecStart=/usr/bin/deluge-web ExecStart=/usr/bin/deluge-web -d
Restart=on-failure Restart=on-failure

View file

@ -1,5 +1,6 @@
[Unit] [Unit]
Description=Deluge Bittorrent Client Daemon Description=Deluge Bittorrent Client Daemon
Documentation=man:deluged
After=network-online.target After=network-online.target
[Service] [Service]
@ -12,7 +13,7 @@ ExecStart=/usr/bin/deluged -d
Restart=on-failure Restart=on-failure
# Configures the time to wait before service is stopped forcefully. # Time to wait before forcefully stopped.
TimeoutStopSec=300 TimeoutStopSec=300
[Install] [Install]