ups and truhe with mpd

This commit is contained in:
do
2022-02-09 21:24:18 +01:00
parent a8bd590dc1
commit 37ee063f9f
3 changed files with 105 additions and 0 deletions

View File

@@ -68,6 +68,16 @@ systemd:
ExecStop: /usr/bin/podman stop mosquitto-mqtt
Install:
WantedBy: multi-user.target
container-mosquitto-prometheus-exporter:
Unit:
Description: mosquitto-prometeus-exporter - yes
After: network-online.target local-fs.target
Before: haproxy.service
Service:
ExecStart: /usr/bin/podman start -a mosquitto-exporter
ExecStop: /usr/bin/podman stop mosquitto-exporter
Install:
WantedBy: multi-user.target
haproxy:
enabled: True
overwrite: True