6
0
Fork 0

Start borgbackup exporter on boot.

This commit is contained in:
Joachim Desroches 2021-09-16 13:59:12 +02:00
parent 9389d246e6
commit 7c950e66d5
Signed by untrusted user who does not match committer: jdesroches
GPG Key ID: 6778C9C29C02D691
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ case "$os" in
__file /etc/init.d/prometheus-borgbackup-exporter \
--source "${__object:?}/files/prometheus-borgbackup-exporter" \
--mode 0755
__start_on_boot prometheus-borgbackup-exporter
;;
*)
echo "$os is not supported by this type. Exiting" >&2