Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- SERVICE="0.0.0.0:8008"
- if netstat -apn | grep "0.0.0.0:8008" >/dev/null
- then
- echo "$SERVICE is running"
- else
- echo "$SERVICE stopped"
- #start PROXY if stopped
- python /root/proxydirect.py 8008 ALFAISALVPN &
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement