aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-10-26 20:03:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-04 10:19:55 +0000
commit0ee1fa68a4d749585c43fc706c8da6e849d10857 (patch)
tree7ac16eba95e9b4acef5de9f44c5cdcc5b6342519
parentf7b8445f2e89ad0a59c2859f9eb26855769f1070 (diff)
downloadopenembedded-core-contrib-0ee1fa68a4d749585c43fc706c8da6e849d10857.tar.gz
openembedded-core-contrib-0ee1fa68a4d749585c43fc706c8da6e849d10857.tar.bz2
openembedded-core-contrib-0ee1fa68a4d749585c43fc706c8da6e849d10857.zip
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 <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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