diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 10:31:37 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 10:31:37 +0100 |
commit | 54f130b57fc317f61bab7e4ca01abed8d595688c (patch) | |
tree | 4192bb302b17223a67614805708a6eab01b2f524 /exim/exim | |
parent | ada1dd368f6fa5081654deb1d62ba6f3a9f26093 (diff) | |
download | opt-54f130b57fc317f61bab7e4ca01abed8d595688c.tar.gz opt-54f130b57fc317f61bab7e4ca01abed8d595688c.tar.bz2 opt-54f130b57fc317f61bab7e4ca01abed8d595688c.tar.xz opt-54f130b57fc317f61bab7e4ca01abed8d595688c.zip |
Recette de exim ajoutée.
Diffstat (limited to 'exim/exim')
-rw-r--r-- | exim/exim | 26 |
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 |