mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-11-20 16:56:52 +00:00
[FIX] get root cert into the busybox
This commit is contained in:
1 parent
0eb6656705
commit
f081131560
2 files changed
+12
No files matched your search
@@ -3,6 +3,12 @@ set -e
|
||||
|
||||
echo "Starting container ..."
|
||||
|
||||
RESTIC_CMD=restic
|
||||
|
||||
if [ -n "${ROOT_CERT}" ]; then
|
||||
RESTIC_CMD="${RESTIC_CMD} --cert ${ROOT_CERT}"
|
||||
fi
|
||||
|
||||
if [ -n "${NFS_TARGET}" ]; then
|
||||
echo "Mounting NFS based on NFS_TARGET: ${NFS_TARGET}"
|
||||
mount -o nolock -v ${NFS_TARGET} /mnt/restic
|
||||
|
||||
Reference in new issue
Block a user