sendmail/sendmail.nm-dispatcher

8 lines
122 B
Plaintext
Raw Normal View History

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