Files
gluetun/script.sh

8 lines
174 B
Bash
Raw Normal View History

2018-02-06 21:57:41 -05:00
#!/bin/sh
set -e
2018-03-31 21:26:17 -04:00
if [ ! -f "/auth.conf" ]]; then
2018-02-06 21:57:41 -05:00
echo "File auth.conf was not found, aborting !"
exit 1
fi
openvpn --config "$REGION".ovpn --auth-user-pass auth.conf