diff options
Diffstat (limited to 'network/atheme/rc.atheme.new')
-rw-r--r-- | network/atheme/rc.atheme.new | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/network/atheme/rc.atheme.new b/network/atheme/rc.atheme.new new file mode 100644 index 0000000000000..4be277a5bdea7 --- /dev/null +++ b/network/atheme/rc.atheme.new @@ -0,0 +1,33 @@ +#!/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 |