aboutsummaryrefslogtreecommitdiffstats
path: root/execute
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-06-19 13:25:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-06-19 13:25:51 +0200
commitbabb114b66d3bbdbba9faa69bb1fdbae49f20172 (patch)
tree55b926846a74ccc0e3052f38bac40c985df222da /execute
parent390605f72f19c3f5d033a57fd5e98d33fbc0d088 (diff)
downloadjournal-notify-babb114b66d3bbdbba9faa69bb1fdbae49f20172.tar.gz
journal-notify-babb114b66d3bbdbba9faa69bb1fdbae49f20172.tar.zst
update examples and add systemd unit
Diffstat (limited to 'execute')
-rwxr-xr-xexecute/mail.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/execute/mail.sh b/execute/mail.sh
index 2d757db..3b797c1 100755
--- a/execute/mail.sh
+++ b/execute/mail.sh
@@ -19,6 +19,9 @@ while getopts "i:p:m:" opt; do
esac
done
+# WARNING: Do NOT use this unmodified!
+# Please replace mail address with your own.
+
mail -s "[${PRIORITY}] ${IDENTIFIER}" mail@example.com <<< "${MESSAGE}"
exit 0