From: Fabien Wernli Date: Mon, 3 Aug 2015 08:15:56 +0000 (+0200) Subject: Use environmental variables from /etc/sysconfig/collectd X-Git-Tag: collectd-5.6.0~622^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a81543f5022140234dc40c8bb4a213130489ccc2;p=collectd.git Use environmental variables from /etc/sysconfig/collectd Change-Id: I948ce3d7a3071cc1ac26a24b059a5ee4aacba0d9 --- diff --git a/contrib/systemd.collectd.service b/contrib/systemd.collectd.service index b046192b..971df3f4 100644 --- a/contrib/systemd.collectd.service +++ b/contrib/systemd.collectd.service @@ -5,6 +5,7 @@ Requires=local-fs.target network.target [Service] ExecStart=/usr/sbin/collectd +EnvironmentFile=-/etc/sysconfig/collectd # Tell systemd it will receive a notification from collectd over it's control # socket once the daemon is ready. See systemd.service(5) for more details.