I have setup a systemd service as shown below. It successfully starts however the conents of /home/syssu/united-media is always blank. I can run the command from ExecStart as my local user and it works just fine and I can see the contents, but when it is put into this service I do not see the contents. It is like when ran as a service the allow_others is being ignored. I did modify the fuse config located at /etc/fuse.conf by adding user_allow_others, and I’m pretty sure I did it correctly because the allow-others for rclone is working.
I know this is not really related to rclone but I know a lot of people here have similar setups. Thanks for any help!
# /etc/systemd/system/unitemedia.service [Unit] Description=UnionFS Mount (plexdrive) AssertPathIsDirectory=/home/syssu/united-media [Service] Type=simple ExecStart=/usr/bin/unionfs-fuse -o cow,allow_other,direct_io,auto_cache,sync_read -o uid=1001 -o gid=1001 /home/syssu/local-media=RW:/home/syssu/selgd-encm-plex-decrypted=RO /home/syssu/united-media ExecStop=/bin/fusermount -uz /home/syssu/united-media Restart=on-abort RestartSec=5 StartLimitInterval=60s StartLimitBurst=3 [Install] WantedBy=default.target