mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
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
|