Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #Start srcds_linux if not running
- #processus= `ps auxw | grep ./srcds_linux | grep -v grep | awk '{print $11}'`
- if pidof -s srcds_linux > /dev/null; then
- echo 'Srcds is already running!'
- else
- sh /home/user/srcds_startscript.sh
- echo 'Srcds started...'
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement