I'm quite new to both Rclone and Linux so apologies off this sounds silly or is basic.
I have setup Rclone with Gdrive and Plex on a VPS which is working fine. I have now tried to do the same on a dedi that will solely run Plex. I have installed Rclone, Fuse, setup the Google Api etc and all seems to be ok. One thing I'm not sure about is the rclone.service file. I was expecting to find this in /etc/systemd... but it is not there. I'm assuming there is one as Rclone is running and did so after a re-start. Am I missing something or is this not needed?
I have also added a cron job to re-mount my drive on reboot using:
rclone mount gdrive: /home/gdrive --allow-other --buffer-size 256M --dir-cache-time 96h --timeout 1h --umask 002 --daemon
Does this look correct? I did read about utilising cache for Plex, is this recommended?
there are two caches that can be used with rclone mount.
many web pages on reddit and elsewhere that suggest using a cache remote but those are mistaken. https://rclone.org/cache/#status
Thank you! I have found online that I needed to manually create the rclone.service file.
Do I need the service file if I am running the @reboot mount command as a cron?
I did / was following the go to guide but I think I ended up confusing myself unfortunately. I added the rclone.service file after editing it for my config and I broke it... the service would not start and after a reboot the mount did not appear. If I take that out and re-start the mount re-appears automatically from the reboot command in cron
well, that does not provide much info.
add a debug log to rclone.
for testing, you can run a systemd service from the command line and systemd itself keeps a log.
also, post the service file, blockquote it when posting.
I have removed the cron to save confusion.
When I attempt to start the rclone.service I receive rclone.service failed because the control process exited with error code. I'm unsure as to find out the error though?