nz_21
nz_21

Reputation: 7353

How can I tell if my ipfs daemon is running the background?

How can I tell if my ipfs daemon is running in the background?

I'm able to execute command like jsipfs cat <hash>, but I'm pretty sure my daemon isn't running. I can't seem to find a process named "ipfs" in my process list.

Is there a one-liner command to verify if the ipfs daemon is actually running?

Upvotes: 0

Views: 1315

Answers (1)

achingbrain
achingbrain

Reputation: 191

Some commands work offline - jsipfs cat Qmfoo will work if you have the whole file in your local repo for example.

If you run a command that requires being online like jsipfs swarm peers for example, it'll print a message like This command must be run in online mode. Try running 'ipfs daemon' first.

Upvotes: 1

Related Questions