Combine rcd and serve options

Good day,

what i need:

serve html - for get ro access to SMB storage for other servers

serve ftp - for get rw access (move/delete) to SMB storage for other servers

web-interface + logs + metrics - for good picture via browser and monitoring

the problem:

it is all working, but seperately :frowning:

rclone --config ./rclone.conf --log-file ./rclone.log --log-level INFO rcd --rc-web-gui --rc-web-gui-update --rc-web-gui-no-open-browser --rc-addr 0.0.0.0:5572 --rc-user rclone --rc-pass *** --rc-enable-metrics
serve ftp local://storage/exchange --addr 0.0.0.0:2121 --user rclone --pass ***
serve http local://storage/exchange --addr 0.0.0.0:8080 --user rclone --pass ***

i need for command, that possible to combine this options

Am i right that combine command is not exist, and i need to start rclone with --rc option, and after that, via API start "serve http" and "serve ftp" ?

Seems, that this is related Add rclone serve WebDAV via the RC and not solved issue on github, but, maybe anyone can show me example, how to add serve options in config file - to load it, at same time, when rcd start.

You can't combine them.

You'd run two service files and just start it up as that's the easiest way.

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