c4k-taiga/infrastructure/backup/image/resources/install.sh

14 lines
348 B
Bash
Raw Normal View History

#!/bin/bash
2023-11-03 10:09:14 +00:00
set -eux pipefail
2023-11-03 09:58:56 +00:00
apt-get update > /dev/null;
install -m 0700 /tmp/entrypoint.sh /
install -m 0700 /tmp/entrypoint-start-and-wait.sh /
install -m 0700 /tmp/init.sh /usr/local/bin/
install -m 0700 /tmp/backup.sh /usr/local/bin/
install -m 0700 /tmp/restore.sh /usr/local/bin/
install -m 0700 /tmp/restic-snapshots.sh /usr/local/bin/