diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 15:05:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 16:15:47 +0000 |
commit | b686174b07bd56af4e5ffaa23c24f27f417fc305 (patch) | |
tree | 1ce335620d99341d94e88c159c0b9b0f6f0de5a0 /packaging/systemd | |
parent | Adding debian version 2.0.3-4. (diff) | |
download | deluge-b686174b07bd56af4e5ffaa23c24f27f417fc305.tar.xz deluge-b686174b07bd56af4e5ffaa23c24f27f417fc305.zip |
Merging upstream version 2.1.1 (Closes: #1026291).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/systemd')
-rw-r--r-- | packaging/systemd/deluge-web.service | 2 | ||||
-rw-r--r-- | packaging/systemd/user/deluge-web.service | 16 | ||||
-rw-r--r-- | packaging/systemd/user/deluged.service | 13 |
3 files changed, 30 insertions, 1 deletions
diff --git a/packaging/systemd/deluge-web.service b/packaging/systemd/deluge-web.service index b74c0ad..7904db3 100644 --- a/packaging/systemd/deluge-web.service +++ b/packaging/systemd/deluge-web.service @@ -1,7 +1,7 @@ [Unit] Description=Deluge Bittorrent Client Web Interface Documentation=man:deluge-web -After=network-online.target deluged.service +After=deluged.service Wants=deluged.service [Service] diff --git a/packaging/systemd/user/deluge-web.service b/packaging/systemd/user/deluge-web.service new file mode 100644 index 0000000..2c3557e --- /dev/null +++ b/packaging/systemd/user/deluge-web.service @@ -0,0 +1,16 @@ +[Unit] +Description=Deluge Bittorrent Client Web Interface +Documentation=man:deluge-web +After=deluged.service +Wants=deluged.service + +[Service] +UMask=027 + +ExecStart=/usr/bin/deluge-web -d + +Restart=on-failure +Slice=background.slice + +[Install] +WantedBy=default.target diff --git a/packaging/systemd/user/deluged.service b/packaging/systemd/user/deluged.service new file mode 100644 index 0000000..b026dee --- /dev/null +++ b/packaging/systemd/user/deluged.service @@ -0,0 +1,13 @@ +[Unit] +Description=Deluge Bittorrent Client Daemon +Documentation=man:deluged + +[Service] +UMask=007 +ExecStart=/usr/bin/deluged -d +Restart=on-failure +TimeoutStopSec=300 +Slice=background.slice + +[Install] +WantedBy=default.target |