Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- var0=0
- while [ "$var0" = 0 ]
- do
- if pgrep liquidsoap >/dev/null; then
- echo " Allready up "
- echo
- else
- /etc/init.d/liquidsoap restart
- echo "restarting"
- fi
- sleep 5
- done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement