summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 16:34:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-19 16:44:38 +0000
commitad8c950893bd1bc6a429d3e3cdad82b56e2dbca6 (patch)
treeb31d4bda1770efdb81c21f14ae0c7e515686610c
parentRefreshing setuptools-60.patch. (diff)
downloaddeluge-ad8c950893bd1bc6a429d3e3cdad82b56e2dbca6.tar.xz
deluge-ad8c950893bd1bc6a429d3e3cdad82b56e2dbca6.zip
Refreshing systemd.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0003-systemd.patch (renamed from debian/patches/systemd-debian.patch)33
-rw-r--r--debian/patches/series2
2 files changed, 18 insertions, 17 deletions
diff --git a/debian/patches/systemd-debian.patch b/debian/patches/debian/0003-systemd.patch
index 212ae76..6899d78 100644
--- a/debian/patches/systemd-debian.patch
+++ b/debian/patches/debian/0003-systemd.patch
@@ -1,32 +1,33 @@
-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
+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=027
+ UMask=007
-
--ExecStart=/usr/bin/deluge-web -d
+-ExecStart=/usr/bin/deluged -d
+User=debian-deluged
+Group=debian-deluged
-+ExecStart=/usr/bin/deluge-web -d -c /var/lib/deluged/config
++ExecStart=/usr/bin/deluged -d -c /var/lib/deluged/config -l /var/log/deluged/daemon.log -L info
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
+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=007
+ UMask=027
-
--ExecStart=/usr/bin/deluged -d
+-ExecStart=/usr/bin/deluge-web -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
++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