Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/sbin/runscript
- depend() {
- need net
- use dns logger antivirus
- provide mta
- }
- start() {
- ebegin "Starting sendmail"
- /usr/sbin/sendmail ${SENDMAIL_OPTS} > /dev/null 2>&1
- /usr/sbin/sendmail ${CLIENTMQUEUE_OPTS} > /dev/null 2>&1
- eend $?
- }
- stop() {
- ebegin "Stopping sendmail"
- kill ${KILL_OPTS} `head -n 1 /var/run/sendmail.pid`
- kill ${KILL_OPTS} `head -n 1 /var/spool/clientmqueue/sm-client.pid`
- eend $?
- }
Advertisement
Add Comment
Please, Sign In to add comment