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

14 lines
348 B
Bash
Raw Normal View History

2022-08-19 09:59:04 +00:00
#!/bin/bash
2023-11-03 10:13:23 +00:00
set -eux pipefail
2022-08-19 09:59:04 +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/