modified: start.sh
Changed ownership of ramdisk when mounted
This commit is contained in:
parent
2d0443dd18
commit
8834c79bcf
1
start.sh
1
start.sh
@ -9,6 +9,7 @@ echo -e 'Create filesystem on ramdisk file'
|
|||||||
mkfs.ext4 /ramdisk/image.ext4
|
mkfs.ext4 /ramdisk/image.ext4
|
||||||
echo -e 'Mount the ramdisk file to /mnt/sonarr-ramdisk-mount'
|
echo -e 'Mount the ramdisk file to /mnt/sonarr-ramdisk-mount'
|
||||||
mount /ramdisk/image.ext4 /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'
|
echo -e 'Copy the config from the remote share to the ramdisk'
|
||||||
cp -fvp /sonarr-config/*.* /mnt/sonarr-ramdisk-mount
|
cp -fvp /sonarr-config/*.* /mnt/sonarr-ramdisk-mount
|
||||||
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
|
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user