Skip to content

Instantly share code, notes, and snippets.

@rodhfr
Last active December 22, 2025 04:19
Show Gist options
  • Select an option

  • Save rodhfr/1d1d6ca8c4edcb2c982d0207b6c40d82 to your computer and use it in GitHub Desktop.

Select an option

Save rodhfr/1d1d6ca8c4edcb2c982d0207b6c40d82 to your computer and use it in GitHub Desktop.
[rodhfr@vmi2960364 user]$ cat rclone-gdrive.service
[Unit]
Description=souzafrodolfo
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount --vfs-cache-mode full --vfs-cache-max-size 10G --allow-other souzafrodolfo: /gdrive
ExecStop=/usr/bin/fusemount -zu /gdrive
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.target
[rodhfr@vmi2960364 user]$ cat rclone-smb.service
[Unit]
Description=sminio
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount --vfs-cache-mode full --vfs-cache-max-size 10G --allow-other smb: /smb
ExecStop=/usr/bin/fusemount -zu /sminio
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment