package-pipelines-miscellan.../mqtt2prometheus/debian.postinst

13 lines
153 B
Text
Raw Normal View History

2023-12-05 23:40:22 +01:00
#!/bin/bash
set -e
if [[ "$1" == "configure" ]]; then
systemctl daemon-reload || true
fi
systemctl try-restart mqtt2prometheus.service || true