]> code.ossystems Code Review - openembedded-core.git/commitdiff
bind: fix to use correct environment file in service file
authorChen Qi <Qi.Chen@windriver.com>
Sun, 26 Oct 2014 12:03:44 +0000 (20:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:08 +0000 (10:17 +0000)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/bind/bind/named.service

index 1792e414abd6ec5b80da19fe8ea68c1ceb8990c8..cda56ef0150c3ecffa65ef212de3ee622fbc8e51 100644 (file)
@@ -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