1 2 3 4 5 6
#!/bin/bash sudo /sbin/sv stop mythbackend > /dev/null MESSAGE="`hostname` B.E. stopped" #echo $MESSAGE /usr/bin/notify.py NFO "$MESSAGE" 2>/dev/null