#!/bin/bash set -e if [[ "$1" == "configure" ]]; then systemctl daemon-reload || true fi systemctl try-restart mqtt2prometheus.service || true