Very good script but I have a problem, created share folder is empty.
My shared folder is /home/sharedmp3 with one mp3 to test
I have changed SharePath=/home/sharedmp3
The contents of my etc/fstab :
/dev/sda1 / ext4 errors=remount-ro,relatime 0 1
/dev/sda2 /home ext4 defaults,relatime 0 2
/dev/sda3 none swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts defaults 0 0
tmpfs /var/amavis/db tmpfs rw,size=10m,mode=700,uid=amavis,gid=amavis 0 0
tmpfs /var/amavis/tmp tmpfs rw,size=150m,mode=700,uid=amavis,gid=amavis 0 0
/home/centovavhosts /usr/local/centovacast/var/vhosts none bind
/home/sharedmp3 /usr/local/centovacast/var/vhosts/cookerseb/var/spool/media/share none bind
/home/sharedmp3 /usr/local/centovacast/var/vhosts/djm/var/spool/media/share none bind
The /home/sharedmp3 and share folder created which user owner/group and chmod they should have?
As you can see a few month I already moved centova vhosts to home because usr partition was too small :/home/centovavhosts /usr/local/centovacast/var/vhosts none bind
Is my problem come from this ?