diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 14:52:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 14:52:21 +0000 |
commit | d1772d410235592b482e3b08b1863f6624d9fe6b (patch) | |
tree | accfb4b99c32e5e435089f8023d62e67a6951603 /packaging/systemd | |
parent | Initial commit. (diff) | |
download | deluge-d1772d410235592b482e3b08b1863f6624d9fe6b.tar.xz deluge-d1772d410235592b482e3b08b1863f6624d9fe6b.zip |
Adding upstream version 2.0.3.upstream/2.0.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/systemd')
-rw-r--r-- | packaging/systemd/deluge-web.service | 16 | ||||
-rw-r--r-- | packaging/systemd/deluged.service | 18 | ||||
-rw-r--r-- | packaging/systemd/user.conf | 4 |
3 files changed, 38 insertions, 0 deletions
diff --git a/packaging/systemd/deluge-web.service b/packaging/systemd/deluge-web.service new file mode 100644 index 0000000..b74c0ad --- /dev/null +++ b/packaging/systemd/deluge-web.service @@ -0,0 +1,16 @@ +[Unit] +Description=Deluge Bittorrent Client Web Interface +Documentation=man:deluge-web +After=network-online.target deluged.service +Wants=deluged.service + +[Service] +Type=simple +UMask=027 + +ExecStart=/usr/bin/deluge-web -d + +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/packaging/systemd/deluged.service b/packaging/systemd/deluged.service new file mode 100644 index 0000000..fa00de0 --- /dev/null +++ b/packaging/systemd/deluged.service @@ -0,0 +1,18 @@ +[Unit] +Description=Deluge Bittorrent Client Daemon +Documentation=man:deluged +After=network-online.target + +[Service] +Type=simple +UMask=007 + +ExecStart=/usr/bin/deluged -d + +Restart=on-failure + +# Time to wait before forcefully stopped. +TimeoutStopSec=300 + +[Install] +WantedBy=multi-user.target diff --git a/packaging/systemd/user.conf b/packaging/systemd/user.conf new file mode 100644 index 0000000..ae59820 --- /dev/null +++ b/packaging/systemd/user.conf @@ -0,0 +1,4 @@ +# Override service user +[Service] +User=deluge +Group=deluge |