-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Please include a systemd script #6323
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
Comments
There's an example here : https://github.com/ipfs/website/tree/master/static/docs/examples/init#systemd |
Some points that are related to this
Systemd does support user services, but that doesn't help much if it is a multi user system where all the users wants IPFS running even if they are not logged in (please correct me if I am wrong!). I hope to see ipfs growing into a more stable daemon that can be run on systemd! |
You can actually configure the ipfs client to use a remote server by running: > mkdir -p ~/.ipfs
> echo '/dns4/localhost/tcp/5001' > ~/.ipfs/api We should probably have a nice command for this. |
My point is that it should not be required to do that if it was a service (even with or without systemd running it). Hashicorp's products are a good example. |
Ah, yeah, I agree (but we need multitenent support for that to really happen). |
finally, some info on how to run ipfs for multiple users! |
We are maintaining (auto-generated) also a apt repository with deb packages (works both for ubuntu and deb) that includes the service for multiple user: The builds are automated and we are using it on most of the gateways. |
Done. See misc/systemd. |
Type:
Description:
Hello,
I am looking for a systemd script to run this as a service for multiple users.
The text was updated successfully, but these errors were encountered: