summaryrefslogtreecommitdiffstats
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:27:10 +0000
commit9e07fbbd6f6bc6517c52e54e7118bc9c73f3ffc1 (patch)
treedbfe4f12e253e8cd62d48e65176c24d6e347533f
parent56fa8cdbf1a59872d98b7baa8e8bd28e9d36ddd8 (diff)
downloadpoky-9e07fbbd6f6bc6517c52e54e7118bc9c73f3ffc1.tar.gz
bind: fix to use correct environment file in service file
Use /etc/default/bind9 as the environment file in named.service. (From OE-Core rev: 0ee1fa68a4d749585c43fc706c8da6e849d10857) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
6 6
7[Service] 7[Service]
8Type=forking 8Type=forking
9EnvironmentFile=-/etc/sysconfig/named 9EnvironmentFile=-/etc/default/bind9
10PIDFile=/run/named/named.pid 10PIDFile=/run/named/named.pid
11 11
12ExecStartPre=@SBINDIR@/generate-rndc-key.sh 12ExecStartPre=@SBINDIR@/generate-rndc-key.sh