×
Logo
  • News
  • Pricing
  • Contact
  • Client Area
Control Panel

Search

Applications

Client Area

Community

Connection Details

Control Panel

Getting Started

Misc Guides

Rclone

Torrent Clients

Unofficial Application Installers

Unofficial Language Installers

Unofficial SSH Utilities

Share your knowledge, submit a guide!

Ultra.cc Documentation
Ultra.cc Documentation
📘

Rclone Mount using systemd

Rclone Mount using systemd

This guide is for advanced users only and it serves as a guide for you to use Rclone. The systemd files here are the recommended settings for our service and will be subject to change whenever there are new configurations that are appropriate for our infrastructure. Ultra.cc support is unable to provide support for Rclone, this is due to the large volume of variables and different configurations possible with rclone. The guides found here on the knowledge-base should be able to guide you through using rclone, and any further questions can easily be answered with a quick Google search. You may also be able to find community support for Rclone through our community Discord server or the Rclone forums.

Please make yourself aware of the Ultra.cc Fair Usage Policy. It is very important NOT to mount your cloud storage to any of the premade folders. Do NOT download directly to a Rclone mount from a torrent or nzbget client, as it will create massive instability for both you and everyone else on the server. Always follow the documentation and create a new folder for mounting. It is your responsibility to ensure your usage is within acceptable limits.

Please do not mount to any of the default directories such as:
downloads
files
media
bin
.apps
.config
www
/home/username
or any pre-created directory found on your Ultra.cc Slot

When to use SystemD Method?

This method is not suitable for you if you wish to upload/write data to your Rclone mount.

  • Follow this method only if you plan to read from your Rclone mount and not upload/write any data to it periodically.
  • In the case that you wish to upload data to your cloud drive periodically, please follow Rclone VFS and MergerFS Setup.

Overview

Rclone's Mount feature allows you to mount any of your cloud storage accounts as part of your Ultra service’s file system using FUSE. In this guide, we will teach you how to run a Rclone mount using systemd. Take note that this guide is setup using Google Drive as the cloud storage provider used. Should you use any other cloud storage providers, you may need consult Rclone documentation for the appropriate flags for your setup.

There are many ways to mount Rclone. You can run the Rclone Mount using the screen utility, create a script for running rclone Mount, and checking if the command is still alive, using the --daemon flag, just to mention a few.

We recommend using systemd for several reasons:

  • Easy to set up and configure.
  • Restarts Rclone Mount automatically when there's a server restart or error.
  • You can manually restart the service when there is an issue.

Rclone Mount without Mergerfs

If you don't need to upload files to your mount, follow this guide.

Should you need to upload files or you're planning an automated setup involving your cloud storage, we recommend using Rclone VFS and MergerFS Setup instead.

Preparation

  • Connect to your service via SSH.
  • Ensure Rclone is installed following Rclone Installation. Mounting will not work without this.
  • Then, create the mount and temp folder
  • For this guide, we'll be making a folder named Mount.
mkdir -p ~/Stuff/Mount && mkdir ~/.tmp-rclone
  • Next, create a folder called scripts. This is where you'll find logs of the Rclone mounts should there be any problems.
mkdir ~/scripts
  • Confirm your remote name by running rclone listremotes and take note of the name you've set.
rclone listremotes

Download Rclone Service File

  • There are 2 systemd services files listed here. You have to choose either one of these files.
    • The first one should work on most remotes supported by Rclone.
    • The second one is specific for Google Drive that is optimized for streaming.

Rclone Mount for Most Remotes

wget -P ~/.config/systemd/user/ https://scripts.ultra.cc/main-v2/MergerFS-Rclone/Service%20Files/rclone-normal.service && nano ~/.config/systemd/user/rclone-normal.service

Google Drive Rclone Mount for Media Streaming

wget -P ~/.config/systemd/user/ https://scripts.ultra.cc/main-v2/MergerFS-Rclone/Service%20Files/rclone-vfs.service && nano ~/.config/systemd/user/rclone-vfs.service

Edit Service File

  • Once you have executed any of the above commands, the nano editor appears. In this example service file, we'll be using Google Drive Rclone Mount for Plex Streaming.
  • Replace remote: to the remote name you set previously from the previous guide.
  • You may also add or edit some Rclone flags here if you wish.
  • Save your changes by pressing CTRL + O and ENTER.
  • Then exit the nano editor by pressing CTRL + X.

Example rclone-normal.service

image

Example rclone-vfs.service

image

Systemd Commands

{mount-name} refers to the service file of your choice. Either rclone-normal.service or rclone-vfs.service

Enabling and starting Rclone mount: systemctl --user enable --now {mount-name}.service
Restart Rclone Mount: systemctl --user restart {mount-name}.service
Stop Rclone Mount: systemctl --user stop {mount-name}.service
Stop, disable and remove Rclone mount: systemctl --user disable --now {mount-name}.service (Remove service file after)

If you require further assistance, you can open a support ticket here!

Feedback and suggestions regarding this article are welcome on our Discord server

  • Rclone Mount using systemd
  • When to use SystemD Method?
  • Overview
  • Rclone Mount without Mergerfs
  • Preparation
  • Download Rclone Service File
  • Rclone Mount for Most Remotes
  • Google Drive Rclone Mount for Media Streaming
  • Edit Service File
  • Example rclone-normal.service
  • Example rclone-vfs.service
  • Systemd Commands
Logo

© 2025 SlashN Services Pte. Ltd. All rights reserved.

Discord