diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-10-26 20:03:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-04 10:27:10 +0000 |
commit | 9e07fbbd6f6bc6517c52e54e7118bc9c73f3ffc1 (patch) | |
tree | dbfe4f12e253e8cd62d48e65176c24d6e347533f | |
parent | 56fa8cdbf1a59872d98b7baa8e8bd28e9d36ddd8 (diff) | |
download | poky-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.service | 2 |
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] |
8 | Type=forking | 8 | Type=forking |
9 | EnvironmentFile=-/etc/sysconfig/named | 9 | EnvironmentFile=-/etc/default/bind9 |
10 | PIDFile=/run/named/named.pid | 10 | PIDFile=/run/named/named.pid |
11 | 11 | ||
12 | ExecStartPre=@SBINDIR@/generate-rndc-key.sh | 12 | ExecStartPre=@SBINDIR@/generate-rndc-key.sh |