freebsd-ports/www/aolserver/files/aolserver.sh
James E. Housley 7862cda5d9 Update to version 1.3
PR:		22209
Submitted by:	Matthew Braithwaite <mab@red-bean.com> MAINTAINER
2000-10-22 13:40:55 +00:00

22 lines
320 B
Bash

#!/bin/sh
PREFIX=%%PREFIX%%/aolserver
CONFIG=${PREFIX}/nsd.tcl
case "$1" in
start)
${PREFIX}/bin/nsd8x -t ${CONFIG} -u nobody -g nobody
;;
stop)
${PREFIX}/bin/nsd8x -t ${CONFIG} -u nobody -g nobody -K
;;
*)
echo "usage: $0 {start|stop}" 1>&2
exit 64
;;
esac