]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bind: fix to use correct environment file in service file ChenQi/systemd-bind9
authorChen Qi <Qi.Chen@windriver.com>
Sun, 26 Oct 2014 11:54:39 +0000 (19:54 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Sun, 26 Oct 2014 12:01:08 +0000 (20:01 +0800)
Use /etc/default/bind9 as the environment file in named.service.

Signed-off-by: Chen Qi <Qi.Chen@windriver.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