Add systemd service files to packaging dir
This commit is contained in:
parent
bc50f6e5f6
commit
5a3625f6cd
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Deluge Bittorrent Client Web Interface
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
User=deluge
|
||||
Group=deluge
|
||||
UMask=027
|
||||
|
||||
ExecStart=/usr/bin/deluge-web
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=Deluge Bittorrent Client Daemon
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=deluge
|
||||
Group=deluge
|
||||
UMask=007
|
||||
|
||||
ExecStart=/usr/bin/deluged -d
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
# Configures the time to wait before service is stopped forcefully.
|
||||
TimeoutStopSec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue