]> code.delx.au - mouse-wiggle/blob - mouse-wiggle.service
systemd unit
[mouse-wiggle] / mouse-wiggle.service
1 [Unit]
2 Description=Mouse wiggle every time MythTV starts playback
3
4 [Service]
5 ExecStart=/bin/bash -c 'journalctl -t mythfrontend -t mythfrontend.real -f | grep --line-buffered "Entering main playback loop" | while read line; do echo mouse-wiggle; /root/mouse-wiggle/mouse-wiggle; done'
6 Restart=always
7
8 [Install]
9 WantedBy=multi-user.target