Start borgbackup exporter on boot.
This commit is contained in:
parent
9389d246e6
commit
7c950e66d5
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ case "$os" in
|
||||||
__file /etc/init.d/prometheus-borgbackup-exporter \
|
__file /etc/init.d/prometheus-borgbackup-exporter \
|
||||||
--source "${__object:?}/files/prometheus-borgbackup-exporter" \
|
--source "${__object:?}/files/prometheus-borgbackup-exporter" \
|
||||||
--mode 0755
|
--mode 0755
|
||||||
|
|
||||||
|
__start_on_boot prometheus-borgbackup-exporter
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "$os is not supported by this type. Exiting" >&2
|
echo "$os is not supported by this type. Exiting" >&2
|
||||||
|
|
Reference in a new issue