-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rclone serve: support systemd socket activation #7783
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The associated forum post URL from
https://forum.rclone.org
https://forum.rclone.org/t/systemd-socket-activation-for-rclone-serve/45644
What is your current rclone version (output from
rclone version
)?1.66.0
What problem are you are trying to solve?
I'd like to create some
rclone serve
processes, and use systemd socket activation to start them on demand.How do you think rclone should be changed to solve that?
Essentially, sockets are passed as FDs directly to the process.
https://darkcoding.net/software/systemd-socket-activation-in-go/ describes a golang-only solution to implement this.
It'd be nice if rclone would support this too. In the presence of the
LISTEN_PID
env var, it could automatically bind to FD 3 - or the--addr
CLI arg could get additional syntax for this, similar to the (undocumented in the--help
output)unix://
syntax.How to use GitHub
The text was updated successfully, but these errors were encountered: