sendmail/sendmail.nm-dispatcher
Lubomir Rintel 5646875a34 nm-dispacher: don't block the connection activation (#1237070)
Just trigger the restart, we don't care about the error status anyway.
2015-07-22 08:26:53 +02:00

8 lines
122 B
Bash

#!/bin/sh
case "$2" in
up|down|vpn-up|vpn-down)
/bin/systemctl --no-block try-restart sendmail.service || :
;;
esac