a25ef5c937
Replaced reload by restart, dropped ExecReload from sendmail.service Resolves: rhbz#719931 Switched to systemctl in NetworkManager dispatcher script Added ExecStartPre=-/etc/mail/make to sm-client.service Hardcoded daemon option (-bd) to sendmail.service, dropped the DAEMON var QUEUE var in /etc/sysconfig/sendmail replaced by SENDMAIL_OPTS var Added default preset (-q1h) to SENDMAIL_OPTS var
8 lines
107 B
Bash
8 lines
107 B
Bash
#!/bin/sh
|
|
|
|
case "$2" in
|
|
up|down|vpn-up|vpn-down)
|
|
/bin/systemctl restart sendmail.service || :
|
|
;;
|
|
esac
|