1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/news/inn/files/innd.sh

10 lines
295 B
Bash
Raw Normal View History

#!/bin/sh
if [ $# -eq 0 -o x$1 = xstart ]; then
1999-05-02 20:28:11 +00:00
if [ -x !!PREFIX!!/news/bin/rc.news -a -f !!PREFIX!!/news/db/history.dir ]; then
limits -C news !!PREFIX!!/news/bin/rc.news && echo ' inn'
fi
fi
if [ x$1 = xstop ]; then
!!PREFIX!!/news/bin/ctlinnd shutdown machine is going down
fi