Added init script for faster deployment

This commit is contained in:
Eric Renfro 2023-12-03 06:50:43 -05:00
parent f02f78f99f
commit a9c7c3921b
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

7
init.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
scriptPath="$(dirname "$(readlink -f "$0")")"
cp "$scriptPath/templates/profiles.toml" "$scriptPath/profiles.toml"
cp "$scriptPath/templates/excludes" "$scriptPath/excludes"
resticprofile generate --random-key > "$scriptPath/key"