Advertisement
Guest User

encfs / rclone fuse mount acd

a guest
Mar 17th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. /bin/fusermount -uz /home/user1/acd
  4. /bin/fusermount -uz /home/user1/.acd
  5. /bin/fusermount -uz /mnt/vol02/local
  6. /bin/fusermount -uz /mnt/vol02/.local
  7. /bin/fusermount -uz /home/user1/media1
  8.  
  9. rclone mount \
  10. --read-only \
  11. --allow-other \
  12. --acd-templink-threshold 0 \
  13. --stats 1s \
  14. --buffer-size 100M \
  15. -v \
  16. --log-file=/home/user1/rclonelogs/logfile.log \
  17. acd:plex /home/user1/.acd &
  18.  
  19. ENCFS6_CONFIG='/home/user1/encfs.xml' encfs --extpass="cat /home/user1/scripts/encfspass" /home/user1/.acd /home/user1/acd
  20.  
  21. ENCFS6_CONFIG='/home/user1/encfs.xml' encfs --extpass="cat /home/user1/scripts/encfspass" /mnt/vol02/.local /mnt/vol02/local
  22.  
  23. #old unionfuse mount
  24. #unionfs-fuse -o cow,allow_other,nonempty /mnt/vol02/local=RW:/home/user1/acd=RO /home/user1/media1/
  25.  
  26. unionfs-fuse \
  27. -o cow,allow_other,nonempty,direct_io,auto_cache,sync_read \
  28. /mnt/vol02/local=RW:/home/user1/acd=RO /home/user1/media1/
  29.  
  30. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement