config: Add 9 and update 4 files
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 4s
Some checks failed
Test and Publish Templates / test-and-publish (push) Failing after 4s
This commit is contained in:
18
languagetool/uninstall.sh
Executable file
18
languagetool/uninstall.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
# LanguageTool Uninstall Script
|
||||
|
||||
echo "Stopping container ${CONTAINER_NAME}..."
|
||||
_stop_container "$CONTAINER_NAME"
|
||||
|
||||
echo "Removing container ${CONTAINER_NAME}..."
|
||||
_remove_container "$CONTAINER_NAME" || _die "Failed to remove container ${CONTAINER_NAME}"
|
||||
|
||||
# CRITICAL: Never remove data volumes in uninstall.sh!
|
||||
# Data volumes (ngrams) must be preserved for potential reinstallation
|
||||
# Only destroy.sh should remove volumes
|
||||
|
||||
echo "Uninstallation of ${CONTAINER_NAME} complete"
|
||||
echo "Note: Data volumes have been preserved. To remove all data, use destroy.sh"
|
||||
Reference in New Issue
Block a user