Commit 4978e5b0 authored by telyn's avatar telyn
Browse files

Revert "Fix cursor passing to journalctl in symbiosis-monit-failure-email"

This reverts commit 0e69c93a.
parent 0e69c93a
......@@ -3,6 +3,6 @@
set -e
args="--since=today"
[ -e "/var/tmp/symbiosis-monit.cursor" ] && args="--after-cursor='$(</var/tmp/symbiosis-monit.cursor)'"
[ -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
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