29 lines
837 B
Diff
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
|