16d2aaadde
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_upstartaddon@4446 504e572c-2e33-0410-9681-be2bf7408885
20 lines
345 B
Plaintext
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
|