More details on --daemon?


#1

With rclone’s new --daemon option for the mount command, does that mean that the process forks off from the parent? So if I were to be using a wrapper script, I’d have to change the implementation to expect the forking of the rclone?

Also, would it be better on a systemd service file to switch a mount command from Type=simple to Type=forking or Type=notify?


#2

Yes

Yes, only if you use --daemon though.

If you want it mounted all the time then a systemd script is probably the way to go. No need to use the --daemon flag. Rclone supports notify so I’d use that. There is an example in the wiki.


#3

Thank you for the clarification!