summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-10-26 19:54:39 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-10-26 20:01:08 +0800
commit6913fd42a535242ef1d43674a3eac75632b9a89c (patch)
tree0f810d24fe6854516cc96e4be684a2c5c5178eba
parent4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb (diff)
downloadopenembedded-core-contrib-ChenQi/systemd-bind9.tar.gz
openembedded-core-contrib-ChenQi/systemd-bind9.tar.bz2
openembedded-core-contrib-ChenQi/systemd-bind9.zip
bind: fix to use correct environment file in service fileChenQi/systemd-bind9
Use /etc/default/bind9 as the environment file in named.service. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-rw-r--r--meta/recipes-connectivity/bind/bind/named.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bind/bind/named.service b/meta/recipes-connectivity/bind/bind/named.service
index 1792e414ab..cda56ef015 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