mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
a92a72b5c9
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
33 lines
417 B
Bash
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
|