iwevent.service

Sytemd unit for wireless events logging.

/etc/systemd/system/iwevent.service
[Unit]
Description=iwevent-logger
 
[Service]
Type=notify
NotifyAccess=all
RemainAfterExit=yes
ExecStart=/bin/sh -c "/sbin/iwevent | /usr/bin/logger &" 
ExecStop=/usr/bin/killall iwevent
 
[Install]
WantedBy=default.target