1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Author: Antoine Beaupré <anarcat@debian.org>
Date: Mon Sep 12 12:01:44 2016 -0400
Properly import environment from /etc/defaults (Closes: #832322)
This fixes a regression in the systemd unit, which doesn't support
the equivilant /etc/default/irker configuration supported by the
sysvinit startup scripts.
diff --git a/irkerd.service b/irkerd.service
index 82f39b0..f4cd45b 100644
--- a/irkerd.service
+++ b/irkerd.service
@@ -6,7 +6,8 @@ Description=irker daemon
Requires=network.target
[Service]
-ExecStart=/usr/bin/irkerd
+EnvironmentFile=-/etc/default/irker
+ExecStart=/usr/bin/irkerd $IRKER_OPTIONS
User=irker
[Install]
|