mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-29 06:05:31 +00:00
Update systemd service files
- Add man page link - Ensure deluge-web is not daemonised
This commit is contained in:
parent
ce3a8c0c17
commit
a7c4228ce7
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue