mirror of
https://github.com/logos-storage/deluge.git
synced 2026-01-06 23:23:08 +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
@ -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…
x
Reference in New Issue
Block a user