I’ve been following the Tech Perplexed tutrorial for creating a Plex VPS. Unfortunately it does not include any information about how to mount an encrypted folder.
The encrypted folder contents do show up when I type
rclone -q ls :secure
but I am unable to see the contents when I point Plex to /mnt/secure
The mounting script in TechPerplexed’s tutorial (not sure whether I am allowed to include links) is
[Unit]
Description=Mount Amazon Cloud Drive to /mnt/ACD
After=syslog.target local-fs.target network.target
[Service]
Type=simple
User=root
ExecStartPre=-/bin/mkdir /mnt/ACD
ExecStart=/usr/sbin/rclone mount
–config /home/yourusername/.config/rclone/rclone.conf
–read-only
–allow-other
–allow-non-empty
–acd-templink-threshold 0
–buffer-size 64M
ACD:/Plex /mnt/ACD
ExecStop=/bin/fusermount -u //mnt/ACD
ExecStop=/bin/rmdir /mnt/ACD
Restart=always
[Install]
WantedBy=multi-user.target
My current remotes are shown below and my Plex media folder Movies and TV are subfolders in secure.
Current remotes:
Name Type
==== ====
ACD amazon cloud drive
secure crypt
Iv’e been playing with this part of the script " ACD:/Plex /mnt/ACD " but I can’t seem to get Plex to see anything inside the mount.
Edit: My version of the script is as follows
[Unit]
Description=Mount Secure Amazon Cloud Drive to /mnt/secure
After=syslog.target local-fs.target network.target
[Service]
Type=simple
User=root
ExecStartPre=-/bin/mkdir /mnt/secure
ExecStart=/usr/sbin/rclone mount
–config /home/plexuser/.config/rclone/rclone.conf
–read-only
–allow-other
–allow-non-empty
–acd-templink-threshold 0
–buffer-size 64M
ACD:secure/secure /mnt/secure
ExecStop=/bin/fusermount -u //mnt/secure
ExecStop=/bin/rmdir /mnt/secure
Restart=always
[Install]
WantedBy=multi-user.target
Any help would be appreciated.