blob: 772fbe2c459af91b725d7512724172a233cf200c (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
[Unit]
Description=Notify about SSHD journal log entries
[Service]
Type=simple
ExecStart=/usr/bin/journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:|Accepted)" -X /path/to/updated/execute/mail.sh
[Install]
WantedBy=multi-user.target
|