forked from evolix/ansible-roles
10 lines
157 B
Bash
Executable file
10 lines
157 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if netstat -an|grep '.1194' >/dev/null; then
|
|
echo "VPN OK"
|
|
return 0
|
|
else
|
|
echo "PROCESS NOT LISTENING"
|
|
return 2
|
|
fi
|