> <@justinz:chat.opendesktop.org> ``` > #!/bin/bash > myservice=ssh > checkinterval=60 > > while true > do > if [[ $(systemctl is-active ${myservice}) == inactive ]] > then > notify-send "${myservice} is not running!" > else > sleep ${checkinterval} > fi > done > ``` awesome, thats way more than expected :) basically i did that kind of stuff in the past, but the notification sending was always a bit sketchy