slackbuilds_ponce/network/atheme/rc.atheme.new
David Woodfall a92a72b5c9 network/atheme: Added (Atheme IRC Services).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-10-28 07:07:04 +07:00

33 lines
417 B
Bash

#!/bin/sh
# Startup file for atheme services.
# Note that atheme needs starting after your IRC daemon.
start() {
atheme-services
}
stop() {
killall atheme-services
}
hup() {
killall -HUP atheme-services
}
case "$1" in
'start')
start
;;
'stop')
stop
;;
'hup')
hup
;;
'restart')
stop
sleep 1
start
;;
esac