blob: d682440a4077e731a54e3df48d58daec421eeaf0 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=Notify about SSHD journal log entries
Requires=dbus.socket
PartOf=graphical-session.target
# Order after notification daemons to make sure it is stopped before.
After=dunst.service xfce4-notifyd.service
ConditionUser=!@system
[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
|