Systemd unit on RHEL 8 won't automatically mount

What is the problem you are having with rclone?

I have a systemd unit on a RHEL 8 machine that I'm trying to use to mount my rclone mount automatically at boot. Similarly to how I had set this up in CentOS 7, I made sure to uncomment user_allow_other in /etc/fuse.conf.

The contents of /etc/systemd/system/rclone-auto-mount-for-pgsql13-backup.service are:

Description=Backup of DaVinci Resolve PostgreSQL databases to Google Drive via rclone
ExecStart=/bin/bash -c '/usr/bin/rclone mount PostgreSQL13: /home/freethink/PostgreSQL13 --vfs-cache-mode full --umask 000 --allow-other'

The problem is the rclone mount doesn't mount at boot, even though running $ /usr/bin/rclone mount PostgreSQL13: /home/freethink/PostgreSQL13 --vfs-cache-mode full --umask 000 --allow-other does properly mount the mount.

Run the command 'rclone version' and share the full output of the command.

rclone v1.61.1
- os/version: redhat 8.7 (64 bit)
- os/kernel: 4.18.0-425.10.1.el8_7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)


The rclone config contents with secrets removed.

type = drive
client_id = REDACTED
client_secret = REDACTED
scope = drive
token = REDACTED
team_drive = REDACTED
root_folder_id =

A log from the command with the -vv flag


hi, might want to use a debug log, post that, and we can all take a look. for example,
--log-level=DEBUG --log-file=/path/to/rclone.log

1 Like

might need to hardcode the config file

1 Like

Oops. Forgot to enable and start the systemd unit. All works totally fine.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.