1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/irc/ircd-hybrid/files/ircd-hybrid.sh
Erwin Lansing 2183f56f71 Update to 7.0 adding lot's of new features.
*** IMPORTANT: ***
- The old config format WILL NOT WORK
- The old kline format WILL NOT WORK
Please read the INSTALL file for more information

PR:		60372
Submitted by:	maintainer
2004-01-07 11:04:11 +00:00

15 lines
293 B
Bash

#!/bin/sh
if [ $# -eq 0 -o x$1 = xstart ]; then
if [ -x %PREFIX%/bin/ircd ]; then
su -fm ircd -c %PREFIX%/bin/ircd && echo ' ircd'
fi
fi
if [ x$1 = xstop ]; then
if [ -f %PREFIX%/etc/ircd.pid ]; then
kill `cat %PREFIX%/etc/ircd.pid`
else
# oh well
killall ircd
fi
fi