#!/bin/bash set -e if [[ "$1" == "remove" ]]; then systemctl stop mqtt2prometheus.service || true fi