With start info about pod stop

This commit is contained in:
ncd
2025-12-06 14:05:49 +01:00
parent 9edf4a5da2
commit 636effe8ce

View File

@@ -94,9 +94,9 @@ LANGFUSE_COMMON_ENV=(
)
# Stop existing systemd-managed pod if present, to avoid conflicts on rerun
echo "Ending systemd-managed pod 'pod-$POD_NAME.service if it exists"
if systemctl --user list-units --type=service --all 2>/dev/null | grep -q 'pod-$POD_NAME.service'; then
systemctl --user stop pod-langflow_pod.service || true
echo "Stopping systemd-managed pod 'pod-$POD_NAME.service' if it exists..."
if systemctl --user list-units --type=service --all 2>/dev/null | grep -q "pod-$POD_NAME.service"; then
systemctl --user stop "pod-$POD_NAME.service" || true
fi
# Prepare directories