diff options
author | Trevor Gamblin <trevor.gamblin@windriver.com> | 2021-05-27 10:28:55 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-31 14:38:31 +0100 |
commit | 5e1a46f08284e0c54f42f999e3a1c0a403943810 (patch) | |
tree | f04b5a14eb88916605e167485b2525351bb47c17 /meta/recipes-connectivity/bind/bind-9.16.16/named.service | |
parent | bceca3c36eade64c87a88d70eecd45ae1cb5aae9 (diff) | |
download | openembedded-core-contrib-5e1a46f08284e0c54f42f999e3a1c0a403943810.tar.gz |
bind: upgrade 9.16.15 -> 9.16.16
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.16.16/named.service')
-rw-r--r-- | meta/recipes-connectivity/bind/bind-9.16.16/named.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.16.16/named.service b/meta/recipes-connectivity/bind/bind-9.16.16/named.service new file mode 100644 index 0000000000..cda56ef015 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.16.16/named.service @@ -0,0 +1,22 @@ +[Unit] +Description=Berkeley Internet Name Domain (DNS) +Wants=nss-lookup.target +Before=nss-lookup.target +After=network.target + +[Service] +Type=forking +EnvironmentFile=-/etc/default/bind9 +PIDFile=/run/named/named.pid + +ExecStartPre=@SBINDIR@/generate-rndc-key.sh +ExecStart=@SBINDIR@/named $OPTIONS + +ExecReload=@BASE_BINDIR@/sh -c '@SBINDIR@/rndc reload > /dev/null 2>&1 || @BASE_BINDIR@/kill -HUP $MAINPID' + +ExecStop=@BASE_BINDIR@/sh -c '@SBINDIR@/rndc stop > /dev/null 2>&1 || @BASE_BINDIR@/kill -TERM $MAINPID' + +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |