From 21b72855c4ebf21ea6a469d0f19b54ad335b8dac Mon Sep 17 00:00:00 2001 From: Elouin Date: Sun, 10 Nov 2024 17:30:17 +0100 Subject: [PATCH] ensure service is running --- voxelibre/init.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/voxelibre/init.sls b/voxelibre/init.sls index 57219c6..ed61f6b 100644 --- a/voxelibre/init.sls +++ b/voxelibre/init.sls @@ -15,3 +15,9 @@ reload-systemd-units-onchange-of-voxelibre-container-unit-file: - service.systemctl_reload: - watch: - file: voxelibre-container-file-is-present + +voxelibre-service-running: + service.running: + - name: voxelibre + - watch: + - module: reload-systemd-units-onchange-of-voxelibre-container-unit-file