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
|