21 lines
571 B
Bash
Executable file
21 lines
571 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -exo pipefail
|
|
|
|
function main() {
|
|
{
|
|
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/list-snapshots.sh /usr/local/bin/
|
|
install -m 0700 /tmp/start-maintenance.sh /usr/local/bin/
|
|
install -m 0700 /tmp/end-maintenance.sh /usr/local/bin/
|
|
cleanupDocker
|
|
} > /dev/null
|
|
}
|
|
|
|
source /tmp/install_functions_debian.sh
|
|
main
|