1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/exim/exim.init
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
13 # ROCK Linux /etc/rc.d/init.d/pdnsd
15 # Desc: The Exim SMTP server
21 block_begin(start, `Starting exim')
22 check(`D_prefix/bin/exim -bd -q15m')
23 # or -odqr for queqing your remote mails
24 # also smtp_accept_queue_per_connection = <a number> might be useful
27 block_begin(stop, `Stopping exim')
28 check(`killall D_prefix/bin/exim')
31 block_begin(restart, `Restarting exim')
32 check(`killall -1 D_prefix/bin/exim')