Commit cffeb46f authored by telyn's avatar telyn
Browse files

Fix symbiosis-monit failure email for good (i think)

parent 4978e5b0
......@@ -4,7 +4,5 @@ OnFailure=symbiosis-monit-failure-email.service
[Service]
Type=simple
ExecStartPre=/bin/sh -c 'journalctl -o cat -n 0 -u %n --show-cursor | cut -f3 -d" " > /var/tmp/symbiosis-monit.cursor'
ExecStart=+/usr/sbin/symbiosis-monit -t email /etc/symbiosis/monit.d
User=nobody
Group=nobody
ExecStartPre=/bin/sh -c 'journalctl -o cat -n 0 -u %n --show-cursor | cut -f3 -d" " | sudo -u nobody tee /var/tmp/symbiosis-monit.cursor >/dev/null'
ExecStart=/usr/sbin/symbiosis-monit -t email /etc/symbiosis/monit.d
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