Last active
December 22, 2025 04:19
-
-
Save rodhfr/1d1d6ca8c4edcb2c982d0207b6c40d82 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nvim /etc/fuse.conf | |
| # /etc/fuse.conf | |
| # mount_max = 1000 | |
| user_allow_other | |
| cd ~/.config/systemd/user/ | |
| nvim rclone-NAME.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [rodhfr@vmi2960364 user]$ cat rclone-gdrive.service | |
| [Unit] | |
| Description=gdrive mount | |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [rodhfr@vmi2960364 user]$ cat rclone-smb.service | |
| [Unit] | |
| Description=smb mount | |
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| systemctl --user daemon-reload | |
| systemctl --user enable --now rclone-*.service | |
| systemctl --user status rclone-*.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment