+if [[ $HOSTNAME == "$MAIL_HOST" ]]; then
+ mailhost_p=1
+else
+ mailhost_p=0
+fi
+# https://www.robustperception.io/how-to-have-labels-for-machine-roles
+dir=/var/lib/prometheus/node-exporter
+if [[ -e $dir ]]; then
+ cat > $dir/mailhost.prom <<EOF
+host_role{role="mailhost"} $mailhost_p
+EOF
+fi
+
+
+
+if [[ $HOSTNAME == "$MAIL_HOST" || $HOSTNAME == kd ]]; then
+ m systemctl --now enable btrbk.timer
+else
+ serm systemctl --now disable btrbk.timer
+fi
+
+