start vpn only

This commit is contained in:
2025-02-27 17:51:45 +01:00
parent f5ab91004c
commit f6d85c1a56
2 changed files with 14 additions and 2 deletions

View File

@@ -162,11 +162,16 @@ if [[ $FIRST_INSTALL == "true" ]]; then
--env GLOBAL_VERSION=$GLOBAL_VERSION \
--rm \
$DOCKER_REGISTRY_URL/installer-tool
else
elif [ "$FIRST_INSTALL" == "vpn" ]; then
get_vpn_key
$SERVICE_EXEC vpn-proxy start
exit;
else
$SUDO_CMD docker pull $DOCKER_REGISTRY_URL/installer-tool
$SUDO_CMD docker pull $DOCKER_REGISTRY_URL/setup
fi
# # test - alias doesn't work inside a function