This commit is contained in:
Your Name 2025-04-21 15:13:17 +12:00
commit 005fbbecbe
5 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,5 @@ namespace dropshell {
bool get_config_path(std::string& path);
bool load_config();
bool is_config_loaded();
bool get_user_directory(std::string& path);
} // namespace dropshell

View File

@ -1,3 +1,4 @@
#include "init_user_directory.hpp"
#include "dropshell.hpp"
#include "server_env.hpp"
#include <iostream>

View File

@ -1,3 +1,4 @@
#include "init_user_directory.hpp"
#include "templates.hpp"
#include "config.hpp"
#include <filesystem>

View File

@ -32,8 +32,9 @@ if ! docker pull "$IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG"; then
fi
echo "Successfully pulled the docker image from the registry"
# start the container
# remove and restart, as the env may have changed.
_stop_container $CONTAINER_NAME
_remove_container $CONTAINER_NAME
create_and_start_container || die "Failed to start container ${CONTAINER_NAME}"
echo "Installation complete"