1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/www/adzapper/files/rc.adzapper.sh
Maxim Sobolev 88fb63b3ac - Update to 0.3.0;
- reassing maintainership from dr@domix.de to jdunn@aquezada.com;
- use USE_PYTHON;
- pre-compile .py files;
- other minor cleanups.

PR:		22763
Submitted by:	Julian Dunn <jdunn@aquezada.com> (new maintainer)
2000-11-11 16:41:05 +00:00

22 lines
337 B
Bash

#!/bin/sh
case $1 in
start)
if [ -f __PREFIX__/etc/adzapper.conf ]; then
__PREFIX__/sbin/adzapper \
1>>/var/log/adzapper.log \
2>>/var/log/adzapper.log &
test $? -eq 0 && echo -n ' adzapper'
fi
;;
stop)
killall adzapper && echo -n ' adzapper'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0