User level rclone mounts
Summary
Section titled “Summary”Use a User-level systemd service instead of a System-level mount.
Advantages
- No system pauses
- No boot hangs (for non automount)
- No root permission needed
- Automatic network drop handling
Global System Configuration
Section titled “Global System Configuration”edit /etc/fuse.conf
sudo $EDITOR /etc/fuse.confand uncomment user_allow_other
Service configuration
Section titled “Service configuration”Create a systemd user directory if it does not already exist
mkdir -p ~/.config/systemd/user/Create a systemd user service.
example $EDITOR ~/.config/systemd/user/rclone-google.service
CLOUD.SERVICE = name in rclone
MOUNTPOINT the mountpoint
[Unit]Description=Rclone CLOUD-SERVICE Drive Mount (User Service)After=network-online.target
[Service]Type=simple# Ensure the paths below match your actual binary location (usually /usr/bin/rclone)ExecStart=/usr/bin/rclone mount CLOUD.SERVICE: /MOUNTPOINT \ --config=%h/.config/rclone/rclone.conf \ --vfs-cache-mode full \ --vfs-cache-max-size 10G \ --vfs-cache-max-age 24h \ --dir-cache-time 1000h \ --attr-timeout 1000h \ --vfs-read-ahead 256M \ --poll-interval 15s \ --cache-dir %h/.cache/rclone \ --allow-other
# Cleanly unmount on stopExecStop=/usr/bin/fusermount -u /MOUNTPOINTRestart=on-failureRestartSec=10
[Install]WantedBy=default.targetStart/enable the service
Section titled “Start/enable the service”systemctl --user daemon-reloadsystemctl --user enable --now rclone-google.service