From fee62ab976cfabe96390d752bcf4b42dd6aed337 Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Wed, 15 Jul 2026 10:49:27 -0400 Subject: [PATCH] change restart_policy to unless-stopped --- salt/strelka/backend/enabled.sls | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/salt/strelka/backend/enabled.sls b/salt/strelka/backend/enabled.sls index 8c71bdf68..e62349f70 100644 --- a/salt/strelka/backend/enabled.sls +++ b/salt/strelka/backend/enabled.sls @@ -15,6 +15,7 @@ include: strelka_backend: docker_container.running: - image: {{ GLOBALS.registry_host }}:5000/{{ GLOBALS.image_repo }}/so-strelka-backend:{{ GLOBALS.so_version }} + - restart_policy: unless-stopped - binds: - /opt/so/conf/strelka/backend/:/etc/strelka/:ro - /opt/so/conf/strelka/rules/compiled/:/etc/yara/:ro @@ -47,11 +48,6 @@ strelka_backend: - {{ ULIMIT.name }}={{ ULIMIT.soft }}:{{ ULIMIT.hard }} {% endfor %} {% endif %} - # Intentionally `on-failure` (not unless-stopped) -- strelka backend shuts - # down cleanly during rule reloads and we do not want those clean exits to - # trigger an auto-restart. Do not homogenize; see the container - # auto-restart section of the plan. - - restart_policy: on-failure - watch: - file: strelkasensorcompiledrules - file: backend_backend_config