This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
2021-09-04 18:21:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2021-09-04 18:48:47 +00:00
|
|
|
if [ $SERVICE_RESULT == "success" ]; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2021-09-04 21:09:01 +00:00
|
|
|
adminmailer "[$1] Status changed" <<ERRMAIL
|
2021-09-04 18:59:03 +00:00
|
|
|
$(systemctl status --full "$1")
|
2021-09-04 18:21:11 +00:00
|
|
|
ERRMAIL
|