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.

Revisions

  1. rodhfr revised this gist Dec 22, 2025. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion rclone systemd service setup
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,8 @@
    sudo nvim /etc/fuse.conf
    # /etc/fuse.conf
    # mount_max = 1000
    user_allow_other
    user_allow_other


    cd ~/.config/systemd/user/
    nvim rclone-NAME.service
  2. rodhfr renamed this gist Dec 22, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. rodhfr revised this gist Dec 22, 2025. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions systemctl commands
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    systemctl --user daemon-reload
    systemctl --user enable --now rclone-*.service
    systemctl --user status rclone-*.service
  4. rodhfr renamed this gist Dec 22, 2025. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. rodhfr revised this gist Dec 22, 2025. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    sudo nvim /etc/fuse.conf
    # /etc/fuse.conf
    # mount_max = 1000
    user_allow_other
  6. rodhfr revised this gist Dec 22, 2025. 2 changed files with 2 additions and 2 deletions.
    2 changes: 1 addition & 1 deletion rclone-gdrive.service
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [rodhfr@vmi2960364 user]$ cat rclone-gdrive.service
    [Unit]
    Description=souzafrodolfo
    Description=gdrive mount
    After=network.target

    [Service]
    2 changes: 1 addition & 1 deletion rclone-smb.service
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [rodhfr@vmi2960364 user]$ cat rclone-smb.service
    [Unit]
    Description=gdrive mount
    Description=smb mount
    After=network.target

    [Service]
  7. rodhfr revised this gist Dec 22, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rclone-smb.service
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    [rodhfr@vmi2960364 user]$ cat rclone-smb.service
    [Unit]
    Description=sminio
    Description=gdrive mount
    After=network.target

    [Service]
  8. rodhfr revised this gist Dec 22, 2025. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions rclone-gdrive.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    [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
  9. rodhfr created this gist Dec 16, 2025.
    14 changes: 14 additions & 0 deletions rclone-smb.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    [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