Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- /bin/fusermount -uz /home/user1/acd
- /bin/fusermount -uz /home/user1/.acd
- /bin/fusermount -uz /mnt/vol02/local
- /bin/fusermount -uz /mnt/vol02/.local
- /bin/fusermount -uz /home/user1/media1
- rclone mount \
- --read-only \
- --allow-other \
- --acd-templink-threshold 0 \
- --stats 1s \
- --buffer-size 100M \
- -v \
- --log-file=/home/user1/rclonelogs/logfile.log \
- acd:plex /home/user1/.acd &
- ENCFS6_CONFIG='/home/user1/encfs.xml' encfs --extpass="cat /home/user1/scripts/encfspass" /home/user1/.acd /home/user1/acd
- ENCFS6_CONFIG='/home/user1/encfs.xml' encfs --extpass="cat /home/user1/scripts/encfspass" /mnt/vol02/.local /mnt/vol02/local
- #old unionfuse mount
- #unionfs-fuse -o cow,allow_other,nonempty /mnt/vol02/local=RW:/home/user1/acd=RO /home/user1/media1/
- unionfs-fuse \
- -o cow,allow_other,nonempty,direct_io,auto_cache,sync_read \
- /mnt/vol02/local=RW:/home/user1/acd=RO /home/user1/media1/
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement