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
|