Subcommand to wait until IPFS daemon is ready
Open
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
I have a systemd service file for ipfs that works pretty well, although the daemon isn't immediately ready. If I try to do anything with the service immediately after launch, I get this: `Error: cannot acquire lock: Lock FcntlFlock of /srv/ipfs/.ipfs/repo.lock failed: resource temporarily unavailable`
Is there some kind of a subcommand that I can add to my systemd service with ExecStartPost that would only return once ipfs is ready to go? `ipfs wait_for_daemon`, something like that.
Thank you!
Contributor guide
Assessment
This issue has not been assessed yet.