From 1c29215785302c379c02d65b76c3a8fa27702a2a Mon Sep 17 00:00:00 2001 From: j Date: Sat, 4 Apr 2026 10:36:16 +1300 Subject: [PATCH] Remove overly aggressive lock from ds_run.sh The lock in ds_run.sh prevented concurrent status/logs/ports checks which are read-only operations. Locks should only be on mutating operations: - install (already locked in ds_install.sh) - uninstall (add to uninstall.sh) - destroy (add to destroy.sh) - restore (add to restore.sh) --- source/agent-remote/ds_run.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/agent-remote/ds_run.sh b/source/agent-remote/ds_run.sh index d38d40b..04dfbb9 100755 --- a/source/agent-remote/ds_run.sh +++ b/source/agent-remote/ds_run.sh @@ -77,9 +77,6 @@ export TEMPLATE_PATH="${DROPSHELL_DIR}/services/${SERVICE}/template" [[ -f "${DROPSHELL_DIR}/server_info.env" ]] || _die "Missing ${DROPSHELL_DIR}/server_info.env" [[ -d "${CONFIG_PATH}" ]] || _die "Service '${SERVICE}' does not exist on server (missing ${CONFIG_PATH})" -# -- Acquire exclusive lock (released automatically on exit) -- -_lock_service "${DROPSHELL_DIR}/services/${SERVICE}" - # -- Load template info (template defaults, loaded first) -- export TEMPLATE_INFO_ENV="${TEMPLATE_PATH}/template_info.env" if [[ ! -f "${TEMPLATE_INFO_ENV}" ]]; then