mattburchett

Untitled

Jul 28th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/zsh
  2.  
  3. SERVICE=synergys
  4.  
  5. if pgrep $SERVICE > /dev/null
  6. then
  7. echo "$SERVICE is running."
  8. #echo "Starting $SERVICE ..."
  9. #synergys -c /home/burchettm/.quicksynergy/synergy.conf
  10. # if pgrep $SERVICE > /dev/null
  11. # then
  12. # echo "$SERVICE started ..."
  13. # else
  14. # echo "$SERVICE failed to start ..."
  15. # fi
  16. else
  17. echo "$SERVICE is NOT running."
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment