]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/init.d/postfix
2 # Begin /etc/init.d/postfix
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
7 #$LastChangedBy: bdubbs $
8 #$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
10 .
/etc
/init.d
/init-functions
14 boot_mesg
"Starting Postfix..."
15 loadproc
/usr
/sbin
/postfix start
19 boot_mesg
"Stopping Postfix..."
20 loadproc
/usr
/sbin
/postfix stop
24 boot_mesg
"Reloading Postfix..."
25 loadproc
/usr
/sbin
/postfix reload
29 boot_mesg
"Aborting Postfix..."
30 loadproc
/usr
/sbin
/postfix abort
34 boot_mesg
"Flushing Postfix..."
35 loadproc
/usr
/sbin
/postfix flush
39 boot_mesg
"Checking Postfix..."
40 loadproc
/usr
/sbin
/postfix check
50 echo "Usage: $0 {start|stop|reload|abort|flush|check|restart}"
55 # End /etc/init.d/postfix