Commit 88a496cb authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Update symbiosis-monit-failure-email to use `-o cat` for email output.

parent cffeb46f
......@@ -5,4 +5,4 @@ set -e
args="--since=today"
[ -e "/var/tmp/symbiosis-monit.cursor" ] && args="--after-cursor=$(</var/tmp/symbiosis-monit.cursor)"
journalctl -b0 $args -u "symbiosis-monit.service" | mail -s "Symbiosis monitor detected service failure" root
journalctl -b0 $args -o cat -u "symbiosis-monit.service" | mail -s "Symbiosis monitor detected service failure" root
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment