[oe-commits] Chen Qi : bind: fix to use correct environment file in service file

git at git.openembedded.org git at git.openembedded.org
Tue Nov 4 10:28:57 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 0ee1fa68a4d749585c43fc706c8da6e849d10857
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0ee1fa68a4d749585c43fc706c8da6e849d10857

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Sun Oct 26 20:03:44 2014 +0800

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 at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-connectivity/bind/bind/named.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/bind/bind/named.service b/meta/recipes-connectivity/bind/bind/named.service
index 1792e41..cda56ef 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



More information about the Openembedded-commits mailing list