hmn/server/adminmailer.sh

6 lines
114 B
Bash
Raw Normal View History

2021-09-04 18:21:11 +00:00
#!/bin/bash
/home/hmn/hmn/adminmailer/adminmailer "[$1] Status changed" <<ERRMAIL
$(service "$1" status)
ERRMAIL