Can I mount only one Remote in Centos?

I use a vps centos 7 and I have several clouds mounted as hd.
I configured a new machine, with the same operating system, I’m using the latest version of rclone, and for some reason, it only accepts one cloud mounted at time.

I’m using the exactly config for the old server to mount it in systencl

[Unit]
Description=Mount and cache Google drive to /media/filmes
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/root/.config/rclone
Environment=MOUNTTO=/media/filmes
Environment=LOGS=/root/logs/
Environment=UPLOADS=/root/uploads
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStartPre=/bin/mkdir -p ${UPLOADS}
ExecStart=/usr/bin/rclone mount
–rc
–log-file ${LOGS}/rclone.log
–log-level INFO
–umask 022
–allow-non-empty
–allow-other
–fuse-flag sync_read
–tpslimit 10
–tpslimit-burst 10
–dir-cache-time=160h
–buffer-size=64M
–attr-timeout=1s
–vfs-read-chunk-size=2M
–vfs-read-chunk-size-limit=2G
–vfs-cache-max-age=5m
–vfs-cache-mode=writes
–cache-dir ${UPLOADS}
–config ${RCLONEHOME}/rclone.conf
–dir-perms 777
–file-perms 666
–gid 1000
–uid 1000
Filmes: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target

But if I try to start two, only one can be up

Wat I’m doing wrong at this time? .

You have the rc command in your startup and you need to give it another port or remove the rc command.

 --rc-addr string                               IPaddress:Port or :Port to bind server to. (default "localhost:5572")

and you can make it port 5573 or something.

1 Like

Thank you so much.
It’s working fine now

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