1
0
Fork 0
irker/debian/patches/0009-env-service.patch
Daniel Baumann 3ab1d7a5b6
Adding debian version 2.23+dfsg-1.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:03:53 +02:00

29 lines
837 B
Diff

From: Python Applications Packaging Team
<python-apps-team@lists.alioth.debian.org>
Date: Sun, 13 May 2018 15:07:57 +0200
Subject: env-service
Properly import environment from /etc/defaults (Closes: #832322)
This fixes a regression in the systemd unit, which doesn't support
the equivalent /etc/default/irker configuration supported by the
sysvinit startup scripts.
---
irkerd.service | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/irkerd.service b/irkerd.service
index 4e75ae2..70b67d5 100644
--- a/irkerd.service
+++ b/irkerd.service
@@ -8,8 +8,8 @@ Documentation=man:irkerd(8) man:irkerhook(1) man:irk(1)
[Service]
User=irker
-ExecStart=/usr/bin/irkerd
-User=irker
+EnvironmentFile=-/etc/default/irker
+ExecStart=/usr/bin/irkerd $IRKER_OPTIONS
[Install]
WantedBy=multi-user.target