Skip to content
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

Open
flokli opened this issue Apr 19, 2024 · 1 comment · May be fixed by #7801
Open

rclone serve: support systemd socket activation #7783

flokli opened this issue Apr 19, 2024 · 1 comment · May be fixed by #7801

Comments

@flokli
Copy link

flokli commented Apr 19, 2024

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

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
@flokli flokli linked a pull request Apr 24, 2024 that will close this issue
5 tasks
@flokli
Copy link
Author

flokli commented Apr 24, 2024

This is implemented in #7801, PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant