Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion images/common/init_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ elif [ "$MODULE_NAME" = 'freeradius' ]; then
source docker-entrypoint.sh -X
fi
elif [ "$MODULE_NAME" = 'openvpn' ]; then
if [[ -z "$VPN_DOMAIN" ]]; then exit; fi
if [ -z "$VPN_DOMAIN" ]; then
echo "WARNING: VPN_DOMAIN not set, skipping OpenVPN setup" >&2
exit 0
fi
wait_nginx_services
openvpn_preconfig
openvpn_config
Expand Down