Date: Sunday, January 5, 2014 @ 11:33:24
  Author: bisson
Revision: 103386

fix FS#38361, FS#38363

Modified:
  nsd/trunk/PKGBUILD
  nsd/trunk/install
  nsd/trunk/service

----------+
 PKGBUILD |    4 ++--
 install  |    9 +++++----
 service  |    2 +-
 3 files changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-01-05 03:23:19 UTC (rev 103385)
+++ PKGBUILD    2014-01-05 10:33:24 UTC (rev 103386)
@@ -5,7 +5,7 @@
 
 pkgname=nsd
 pkgver=4.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Authoritative only, high performance and simple DNS server'
 url='http://www.nlnetlabs.nl/nsd/'
 license=('BSD')
@@ -17,7 +17,7 @@
         'service')
 sha1sums=('b3ebd669be8e830f62062d12be55242ca41da369'
           '7ad2b8da961a893095eede8963cf8026b13186a1'
-          '491bf9c6e63644f7d6c81d3b16138f0d87706aa0')
+          '3dbe300d834a32c9a339a6c76c58f5c240239e9b')
 
 install=install
 

Modified: install
===================================================================
--- install     2014-01-05 03:23:19 UTC (rev 103385)
+++ install     2014-01-05 10:33:24 UTC (rev 103386)
@@ -1,14 +1,15 @@
+post_upgrade() {
+       usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
 post_install() {
        getent group nsd &>/dev/null || groupadd -r nsd >/dev/null
        getent passwd nsd &>/dev/null || useradd -r -g nsd -d /dev/null -s 
/bin/false -c nsd nsd >/dev/null
        chown nsd:nsd /var/db/nsd
        chmod 700 /var/db/nsd
+       post_upgrade
 }
 
-post_upgrade() {
-       usr/bin/systemd-tmpfiles --create nsd.conf || true
-}
-
 post_remove() {
        getent passwd nsd &>/dev/null && userdel nsd >/dev/null
        getent group nsd &>/dev/null && groupdel nsd >/dev/null

Modified: service
===================================================================
--- service     2014-01-05 03:23:19 UTC (rev 103385)
+++ service     2014-01-05 10:33:24 UTC (rev 103386)
@@ -4,7 +4,7 @@
 
 [Service]
 PIDFile=/run/nsd/nsd.pid
-ExecStart=/usr/bin/nsd -c /etc/nsd/nsd.conf
+ExecStart=/usr/bin/nsd -d -c /etc/nsd/nsd.conf
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -TERM $MAINPID
 

Reply via email to