diff --git a/type/__prometheus_borgbackup_exporter/gencode-remote b/type/__prometheus_borgbackup_exporter/gencode-remote index 7888263..67b121a 100755 --- a/type/__prometheus_borgbackup_exporter/gencode-remote +++ b/type/__prometheus_borgbackup_exporter/gencode-remote @@ -16,5 +16,6 @@ pip install prometheus_client pip install dateutils # Start service -service prometheus-borgbackup-exporter start +service prometheus-borgbackup-exporter --ifstarted restart +service prometheus-borgbackup-exporter --ifstopped start EOF