mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
aa74835d75
PR: 18419 Submitted by: Matthew Braithwaite <mab@red-bean.com>
22 lines
324 B
Bash
22 lines
324 B
Bash
#!/bin/sh
|
|
|
|
PREFIX=%%PREFIX%%/aolserver
|
|
CONFIG=${PREFIX}/nsd.tcl
|
|
|
|
case "$1" in
|
|
|
|
start)
|
|
${PREFIX}/bin/nsd8x -t ${CONFIG} -u nsadmin -g nsadmin
|
|
;;
|
|
|
|
stop)
|
|
${PREFIX}/bin/nsd8x -t ${CONFIG} -u nsadmin -g nsadmin -K
|
|
;;
|
|
|
|
*)
|
|
echo "usage: $0 {start|stop}" 1>&2
|
|
exit 64
|
|
;;
|
|
|
|
esac
|