mattburchett

Untitled

Jul 28th, 2011
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. SERVICE=synergys
  4.  
  5. if pgrep synergys > /dev/null
  6. then
  7. echo "$SERVICE is NOT running."
  8. else
  9. echo "$SERVICE is running."
  10. fi
Advertisement
Add Comment
Please, Sign In to add comment