We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cd872 commit e3fb79dCopy full SHA for e3fb79d
1 file changed
images/common/init_command.sh
@@ -29,7 +29,10 @@ elif [ "$MODULE_NAME" = 'freeradius' ]; then
29
source docker-entrypoint.sh -X
30
fi
31
elif [ "$MODULE_NAME" = 'openvpn' ]; then
32
- if [[ -z "$VPN_DOMAIN" ]]; then exit; fi
+ if [ -z "$VPN_DOMAIN" ]; then
33
+ echo "WARNING: VPN_DOMAIN not set, skipping OpenVPN setup" >&2
34
+ exit 0
35
+ fi
36
wait_nginx_services
37
openvpn_preconfig
38
openvpn_config
0 commit comments