blob: 08abe7f72a24c0f145eb67b53262e5953700685a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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
|