From c3ea2c6414f3d1f88c4b64668985202d0a390f17 Mon Sep 17 00:00:00 2001 From: Elouin Date: Sun, 10 Nov 2024 17:07:55 +0100 Subject: [PATCH] move module.run to module.wait --- voxelibre/init.sls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/voxelibre/init.sls b/voxelibre/init.sls index c405cc0..57219c6 100644 --- a/voxelibre/init.sls +++ b/voxelibre/init.sls @@ -11,7 +11,7 @@ voxelibre-container-file-is-present: - template: jinja reload-systemd-units-onchange-of-voxelibre-container-unit-file: - module.run: - - service.systemctl_reload - - onchanges: - - file: /etc/containers/systemd/voxelibre.container + module.wait: + - service.systemctl_reload: + - watch: + - file: voxelibre-container-file-is-present