packages/net/unbound/files/unbound.init
Michael Hanselmann 6f2ceb74b9 Import net/unbound package from Subversion
This is an import of the net/unbound package from Subversion
revision 40658 (May 2, 2014). The only change is the addition of
PKG_LICENSE, PKG_LICENSE_FILE and PKG_MAINTAINER to Makefile.
Unbound 1.4.22 is the current upstream release.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2014-08-19 05:15:22 +02:00

14 lines
214 B
Bash
Executable file

#!/bin/sh /etc/rc.common
#Copyright (C) 2010 Ondrej Caletka <o.caletka@sh.cvut.cz>
START=61
start () {
unbound
}
stop () {
PIDFILE='/var/run/unbound.pid'
if [ -f $PIDFILE ] ; then
kill $(cat $PIDFILE)
fi
}