modified: start.sh

Changed ownership of ramdisk when mounted
This commit is contained in:
Jonathan Ervine 2020-03-19 16:28:17 +08:00
parent 2d0443dd18
commit 8834c79bcf

View File

@ -9,6 +9,7 @@ echo -e 'Create filesystem on ramdisk file'
mkfs.ext4 /ramdisk/image.ext4
echo -e 'Mount the ramdisk file to /mnt/sonarr-ramdisk-mount'
mount /ramdisk/image.ext4 /mnt/sonarr-ramdisk-mount
chown 1003:1003 /mnt/sonarr-ramdisk-mount
echo -e 'Copy the config from the remote share to the ramdisk'
cp -fvp /sonarr-config/*.* /mnt/sonarr-ramdisk-mount
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'