zdt-openvpn/bin/ovpn_status

13 lines
158 B
Plaintext
Raw Normal View History

2022-05-24 14:47:14 +00:00
#!/bin/sh
#
# Get OpenVPN server status
#
if [ "$DEBUG" == "1" ]; then
set -x
fi
set -e
[-r /tmp/openvpn-status.log ] && tail -F /tmp/openvpn-status.log