sendmail/SOURCES/sendmail.nm-dispatcher
2021-09-10 04:24:30 +00: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