summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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