mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 09:33:12 +02:00
18 lines
294 B
Bash
Executable File
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
|