1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/news/inn-current/files/innd.sh
Torsten Blum 3af1206c91 - upgrade to 1.7.2
- install $PREFIX/etc/rc.d/innd.sh (start and stop)
- change group of $PREFIX/bin/rnews from uucp to dialer to work around
  a problem when using inn with uucp (rnews is not world-executable to prevent
  injection of faked articles)
- don't install binaries in $PREFIX/etc
- use /var/{spool,}/news/tmp instead of /var/tmp for rnews, otherwise
  rename will fail
1998-01-25 21:41:03 +00:00

10 lines
285 B
Bash

#!/bin/sh
if [ $# -eq 0 -o x$1 = xstart ]; then
if [ -x !!PREFIX!!/etc/rc.news -a -f !!PREFIX!!/news/lib/history.pag ]; then
limits -C news !!PREFIX!!/etc/rc.news && echo ' inn'
fi
fi
if [ x$1 = xstop ]; then
[ -x !!PREFIX!!/news/bin/ctlinnd stop machine is going down
fi