mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
Add systemd service files to packaging dir
This commit is contained in:
parent
bc50f6e5f6
commit
5a3625f6cd
2 changed files with 36 additions and 0 deletions
17
packaging/systemd/deluge-web.service
Normal file
17
packaging/systemd/deluge-web.service
Normal file
|
@ -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
|
19
packaging/systemd/deluged.service
Normal file
19
packaging/systemd/deluged.service
Normal file
|
@ -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…
Add table
Reference in a new issue