From 3f8078758c273be47c9315111ceb4a6757bbd2c2 Mon Sep 17 00:00:00 2001 From: Jonny Ervine Date: Mon, 16 Mar 2020 14:53:37 +0000 Subject: [PATCH] modified: start.sh Trying to get the /config to mount the subPaths --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 77fe5a4..adf2136 100644 --- a/start.sh +++ b/start.sh @@ -10,13 +10,13 @@ mkfs.ext4 /ramdisk/image.ext4 echo -e 'Mount the ramdisk file to /mnt/sonarr-ramdisk-mount' mount /ramdisk/image.ext4 /mnt/sonarr-ramdisk-mount echo -e 'Copy the config from the remote share to the ramdisk' -cp -fvp /config/*.* /mnt/sonarr-ramdisk-mount +cp -fvp /sonarr-config/*.* /mnt/sonarr-ramdisk-mount echo -e 'Set up the filesystem freeze, copy, unfreeze loop' while true; do sleep 890 sync /mnt/sonarr-ramdisk-mount/*.* fsfreeze --freeze /mnt/sonarr-ramdisk-mount sleep 10 - cp -fvp /mnt/sonarr-ramdisk-mount/*.* /config/ + cp -fvp /mnt/sonarr-ramdisk-mount/*.* /sonarr-config/ fsfreeze --unfreeze /mnt/sonarr-ramdisk-mount done