From f0c916cd75687f7c195d4e9d10dc04e5e6a99b21 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Mon, 27 Jul 2020 18:26:04 +0800 Subject: [PATCH] Add recurse copy option --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index acd68ad..4ff4b37 100755 --- a/start.sh +++ b/start.sh @@ -6,7 +6,7 @@ echo -e 'Starting the sidecar container to periodically backup the sonarr databa chown 1003:1003 /mnt/app-local-config chown 1003:1003 /app-remote-config/* echo -e 'Copy the config from the remote share to the ramdisk' -cp -fvp /app-remote-config/* /mnt/app-local-config +cp -Rfvp /app-remote-config/* /mnt/app-local-config echo -e 'Set up the filesystem freeze, copy, unfreeze loop' while true; do sleep 890