From ad8c950893bd1bc6a429d3e3cdad82b56e2dbca6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Feb 2023 17:34:33 +0100 Subject: Refreshing systemd.patch. Signed-off-by: Daniel Baumann --- debian/patches/debian/0003-systemd.patch | 33 ++++++++++++++++++++++++++++++++ debian/patches/series | 2 +- debian/patches/systemd-debian.patch | 32 ------------------------------- 3 files changed, 34 insertions(+), 33 deletions(-) create mode 100644 debian/patches/debian/0003-systemd.patch delete mode 100644 debian/patches/systemd-debian.patch diff --git a/debian/patches/debian/0003-systemd.patch b/debian/patches/debian/0003-systemd.patch new file mode 100644 index 0000000..6899d78 --- /dev/null +++ b/debian/patches/debian/0003-systemd.patch @@ -0,0 +1,33 @@ +Author: n/a +Description: n/a + +diff -Naurp deluge.orig/packaging/systemd/deluged.service deluge/packaging/systemd/deluged.service +--- deluge.orig/packaging/systemd/deluged.service ++++ deluge/packaging/systemd/deluged.service +@@ -6,8 +6,9 @@ After=network-online.target + [Service] + Type=simple + UMask=007 +- +-ExecStart=/usr/bin/deluged -d ++User=debian-deluged ++Group=debian-deluged ++ExecStart=/usr/bin/deluged -d -c /var/lib/deluged/config -l /var/log/deluged/daemon.log -L info + + Restart=on-failure + +diff -Naurp deluge.orig/packaging/systemd/deluge-web.service deluge/packaging/systemd/deluge-web.service +--- deluge.orig/packaging/systemd/deluge-web.service ++++ deluge/packaging/systemd/deluge-web.service +@@ -7,8 +7,9 @@ Wants=deluged.service + [Service] + Type=simple + UMask=027 +- +-ExecStart=/usr/bin/deluge-web -d ++User=debian-deluged ++Group=debian-deluged ++ExecStart=/usr/bin/deluge-web -d -c /var/lib/deluged/config + + Restart=on-failure + diff --git a/debian/patches/series b/debian/patches/series index dac2c55..bc7089b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,3 @@ debian/0001-release-check.patch debian/0002-setuptools-60.patch -systemd-debian.patch +debian/0003-systemd.patch diff --git a/debian/patches/systemd-debian.patch b/debian/patches/systemd-debian.patch deleted file mode 100644 index 212ae76..0000000 --- a/debian/patches/systemd-debian.patch +++ /dev/null @@ -1,32 +0,0 @@ -Index: deluge-2.0.3/packaging/systemd/deluge-web.service -=================================================================== ---- deluge-2.0.3.orig/packaging/systemd/deluge-web.service -+++ deluge-2.0.3/packaging/systemd/deluge-web.service -@@ -7,8 +7,9 @@ Wants=deluged.service - [Service] - Type=simple - UMask=027 -- --ExecStart=/usr/bin/deluge-web -d -+User=debian-deluged -+Group=debian-deluged -+ExecStart=/usr/bin/deluge-web -d -c /var/lib/deluged/config - - Restart=on-failure - -Index: deluge-2.0.3/packaging/systemd/deluged.service -=================================================================== ---- deluge-2.0.3.orig/packaging/systemd/deluged.service -+++ deluge-2.0.3/packaging/systemd/deluged.service -@@ -6,8 +6,9 @@ After=network-online.target - [Service] - Type=simple - UMask=007 -- --ExecStart=/usr/bin/deluged -d -+User=debian-deluged -+Group=debian-deluged -+ExecStart=/usr/bin/deluged -d -c /var/lib/deluged/config -l /var/log/deluged/daemon.log -L info - - Restart=on-failure - -- cgit v1.2.3