2011-01-03 10:48:06 +00:00
|
|
|
description "sendmail Daemon startup"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [2345] and (started ifup))
|
|
|
|
stop on runlevel [016]
|
|
|
|
|
|
|
|
console none
|
|
|
|
|
|
|
|
script
|
2011-08-19 09:23:57 +00:00
|
|
|
/sbin/CheckPid /var/run/sendmail.pid
|
2011-01-03 10:48:06 +00:00
|
|
|
if [ -f /etc/mail/sendmail.cf ]; then
|
|
|
|
/usr/sbin/sendmail -bD -q30m -om
|
|
|
|
fi
|
|
|
|
end script
|