From: Chen Qi Date: Sun, 26 Oct 2014 11:54:39 +0000 (+0800) Subject: bind: fix to use correct environment file in service file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2FChenQi%2Fsystemd-bind9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bind: fix to use correct environment file in service file Use /etc/default/bind9 as the environment file in named.service. Signed-off-by: Chen Qi --- diff --git a/meta/recipes-connectivity/bind/bind/named.service b/meta/recipes-connectivity/bind/bind/named.service index 1792e414abd..cda56ef0150 100644 --- a/meta/recipes-connectivity/bind/bind/named.service +++ b/meta/recipes-connectivity/bind/bind/named.service @@ -6,7 +6,7 @@ After=network.target [Service] Type=forking -EnvironmentFile=-/etc/sysconfig/named +EnvironmentFile=-/etc/default/bind9 PIDFile=/run/named/named.pid ExecStartPre=@SBINDIR@/generate-rndc-key.sh