Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/n/unbound/rc.unbound

30 lines
428 B

#!/bin/sh
case "$1" in
start)
/usr/sbin/unbound-control start
;;
stop)
/usr/sbin/unbound-control stop
;;
restart)
/usr/sbin/unbound-control stop
sleep 1
/usr/sbin/unbound-control start
;;
reload)
/usr/sbin/unbound-control reload
;;
status)
/usr/sbin/unbound-control status
;;
*)
echo "Usage: `basename $0` {start|stop|restart|reload|status}" 1>&2
exit 1
;;
esac