#!/usr/bin/env bash
set -euo pipefail

if command -v systemctl >/dev/null 2>&1; then
  systemctl stop jabali-health-monitor jabali-queue jabali-agent >/dev/null 2>&1 || true
  systemctl disable jabali-health-monitor jabali-queue jabali-agent >/dev/null 2>&1 || true
fi

exit 0
