voxelibre-formula/voxelibre/init.sls

24 lines
706 B
Text
Raw Permalink Normal View History

2024-11-10 14:34:49 +01:00
voxelibre-volume-file-is-present:
file.managed:
- name: /etc/containers/systemd/voxelibre.volume
- source: salt://voxelibre/voxelibre.volume.jinja
- template: jinja
voxelibre-container-file-is-present:
file.managed:
- name: /etc/containers/systemd/voxelibre.container
- source: salt://voxelibre/voxelibre.container.jinja
- template: jinja
reload-systemd-units-onchange-of-voxelibre-container-unit-file:
2024-11-10 17:07:55 +01:00
module.wait:
- service.systemctl_reload:
- watch:
- file: voxelibre-container-file-is-present
2024-11-10 17:30:17 +01:00
voxelibre-service-running:
service.running:
- name: voxelibre
- watch:
- module: reload-systemd-units-onchange-of-voxelibre-container-unit-file