Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- exec 2> /dev/null
- ans=$(netstat -tulpn | grep 8005 | wc -l 2> /dev/null)
- if [[ "$ans" == "1" ]];
- then
- echo "Congradulation! Moloch should now be running on localhost:8005."
- else
- echo "Moloch does not seems to be running...Check the status using 'systemctl status molochviewer.service'"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement