I am wanting the RC web GUI to be started at the same time as Rclone is started. Right now I only care about it being accessible via localhost:5572.
A couple variations I've tried: (using --rc flag combinations)
--rc, --r-serve
On :5572 I get a directory list of all my remotes.
--rc, --r-web-gui & --rc, --rc-web-gui, --rc-serve
On :5572 I get "404 page not found"
If I take out all RC related flags from rclone.service and simply run "rclone rcd --rc-web-gui --rc-user=admin --rc-pass=pass --rc-serve" manually, I am able to access :5572 and login but there are no stats. I also have to run it as sudo or else I get the error, "Failed to load config file "/home/cole/.config/rclone/rclone.conf": open /home/cole/.config/rclone/rclone.conf: permission denied". I am able to see my configs under the Config page, but no stats/data shows on the Dashboard.
Here is my current rclone.service:
# /etc/systemd/system/rclone.service
[Unit]
Description=RClone Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/cole/.config/rclone/rclone.conf
KillMode=none
RestartSec=5
ExecStart=/usr/bin/rclone mount gcrypt: /plex/media \
--allow-other \
--allow-non-empty \
--cache-db-purge \
--buffer-size 256M \
--dir-cache-time 96h \
--drive-chunk-size 16M \
--vfs-cache-mode minimal \
--vfs-read-chunk-size 128M \
--vfs-read-chunk-size-limit 1G \
--timeout 1h \
--umask 002 \
--log-level INFO \
--log-file /var/log/rclone.log \
--rc \
--rc-serve
ExecStop=/bin/fusermount -u /plex/media
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target