diff options
author | root <root@rshg054.dnsready.net> | 2011-10-20 23:14:58 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-20 23:14:58 +0000 |
commit | 1b21445a8e9097b0bb0542ed847fbb1eb832848f (patch) | |
tree | de9d1c80c9330efe48f043d8c6cc059ad5640151 /community/unbound | |
parent | 1a136cf48dd7f710f38ff998182508f5a0d41c35 (diff) |
Thu Oct 20 23:14:58 UTC 2011
Diffstat (limited to 'community/unbound')
-rw-r--r-- | community/unbound/PKGBUILD | 6 | ||||
-rw-r--r-- | community/unbound/rc.d | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/community/unbound/PKGBUILD b/community/unbound/PKGBUILD index fc2610b7d..00e8f4774 100644 --- a/community/unbound/PKGBUILD +++ b/community/unbound/PKGBUILD @@ -1,10 +1,12 @@ +# $Id: PKGBUILD 57055 2011-10-19 13:43:09Z bisson $ + # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net> # Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service> pkgname=unbound pkgver=1.4.13 -pkgrel=1 +pkgrel=2 pkgdesc='Validating, recursive, and caching DNS resolver' arch=('i686' 'x86_64') url='http://unbound.net/' @@ -19,7 +21,7 @@ source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz" 'rc.d') sha1sums=('834ccfd1cb41a44f53b33f8338a8f9cc68febaf7' '5d473ec2943fd85367cdb653fcd58e186f07383f' - 'a0c8c496d71d43ed9e09b170d3df836dfb096480') + 'dc96e772f467b32555df21d16fdb15e98194c228') install=install diff --git a/community/unbound/rc.d b/community/unbound/rc.d index f392450ae..b5b6466de 100644 --- a/community/unbound/rc.d +++ b/community/unbound/rc.d @@ -21,6 +21,12 @@ stop) && { rm_daemon $name; stat_done; } \ || { stat_fail; exit 1; } ;; +reload) + stat_busy "Reloading $name daemon" + [[ -n "$PID" ]] && kill -SIGHUP $PID &>/dev/null \ + && { stat_done; } \ + || { stat_fail; exit 1; } + ;; restart) $0 stop sleep 2 |