Code

collectd.service: import environment variables from /etc/default/
authorMarc Fournier <marc.fournier@camptocamp.com>
Thu, 13 Aug 2015 21:11:50 +0000 (23:11 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Thu, 13 Aug 2015 21:11:50 +0000 (23:11 +0200)
debian/collectd.service

index 806d804989097a7f53548a83236f571be1ec1967..2fee302f0e5b16cc1af1bc33166d9129a5e8e16d 100644 (file)
@@ -9,6 +9,7 @@ Documentation=https://collectd.org
 [Service]
 Type=notify
 NotifyAccess=main
+EnvironmentFile=-/etc/default/collectd
 ExecStart=/usr/sbin/collectd
 Restart=always
 RestartSec=10