1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 09:33:12 +02:00
Files
unrealircd/unreal
T
2001-11-04 22:09:30 +00:00

18 lines
294 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "start" ] ; then
echo "Starting UnrealIRCd"
./ircd
elif [ "$1" = "stop" ] ; then
echo "Stopping UnrealIRCd"
kill -9 `cat ircd.pid`
elif [ "$1" = "rehash" ] ; then
echo "Rehashing UnrealIRCd"
kill -9 `cat ircd.pid`
else
echo "Usage: unreal start|stop|rehash"
fi