summaryrefslogtreecommitdiffstats
path: root/exim/exim
diff options
context:
space:
mode:
Diffstat (limited to 'exim/exim')
-rw-r--r--exim/exim26
1 files changed, 26 insertions, 0 deletions
diff --git a/exim/exim b/exim/exim
new file mode 100644
index 0000000..c47d919
--- /dev/null
+++ b/exim/exim
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# /etc/rc.d/exim: start/stop exim daemon
+#
+
+case $1 in
+start)
+ /usr/sbin/exim -bd -q15m
+ ;;
+stop)
+ killall -q /usr/sbin/exim
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+reload)
+ kill -s HUP $(pidof exim)
+ ;;
+*)
+ echo "usage: $0 [start|stop|restart|reload]"
+ ;;
+esac
+
+# End of file \ No newline at end of file