Viitor_upstartaddon/etc/event.d/sendmail-helper
kueller 2cfe1de66a V961 Tree Umbau
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_upstartaddon@4330 504e572c-2e33-0410-9681-be2bf7408885
2008-05-03 16:59:19 +00:00

20 lines
345 B
Plaintext

# rc - runlevel compatibility
#
# This task guesses what the "default runlevel" should be and starts the
# appropriate script.
start on started syslogd
stop on stopping syslogd
console logged
pre-start script
if [ -f /etc/mail/sendmail.cf ]; then
initctl emit mailstart &
fi
end script
post-stop script
initctl emit mailstop
end script