diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-05 07:04:57 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-05 21:17:37 +0100 |
| commit | 16fd10958797f86da0a9b720267d892555d20ca2 (patch) | |
| tree | d91b0f194719ce805fc87bf803ddb4571fe9db52 /meta/recipes-connectivity/bind/bind-9.18.2/named.service | |
| parent | 78aad10cb60f1d2e342e69e529170aad08788d8c (diff) | |
| download | poky-16fd10958797f86da0a9b720267d892555d20ca2.tar.gz | |
bind: upgrade 9.18.1 -> 9.18.2
(From OE-Core rev: 5398263c8e070110a045a5f8999712ba4be628de)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.18.2/named.service')
| -rw-r--r-- | meta/recipes-connectivity/bind/bind-9.18.2/named.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.18.2/named.service b/meta/recipes-connectivity/bind/bind-9.18.2/named.service new file mode 100644 index 0000000000..cda56ef015 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind-9.18.2/named.service | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Berkeley Internet Name Domain (DNS) | ||
| 3 | Wants=nss-lookup.target | ||
| 4 | Before=nss-lookup.target | ||
| 5 | After=network.target | ||
| 6 | |||
| 7 | [Service] | ||
| 8 | Type=forking | ||
| 9 | EnvironmentFile=-/etc/default/bind9 | ||
| 10 | PIDFile=/run/named/named.pid | ||
| 11 | |||
| 12 | ExecStartPre=@SBINDIR@/generate-rndc-key.sh | ||
| 13 | ExecStart=@SBINDIR@/named $OPTIONS | ||
| 14 | |||
| 15 | ExecReload=@BASE_BINDIR@/sh -c '@SBINDIR@/rndc reload > /dev/null 2>&1 || @BASE_BINDIR@/kill -HUP $MAINPID' | ||
| 16 | |||
| 17 | ExecStop=@BASE_BINDIR@/sh -c '@SBINDIR@/rndc stop > /dev/null 2>&1 || @BASE_BINDIR@/kill -TERM $MAINPID' | ||
| 18 | |||
| 19 | PrivateTmp=true | ||
| 20 | |||
| 21 | [Install] | ||
| 22 | WantedBy=multi-user.target | ||
