5646875a34
Just trigger the restart, we don't care about the error status anyway.
8 lines
122 B
Bash
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
|