mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
I found this useful to have, and figured it might save somebody else a few minutes of re-inventing the wheel. |
||
|---|---|---|
| .. | ||
| io.ipfs.ipfs-daemon.plist | ||
| README.md | ||
ipfs launchd agent
A bare-bones launchd agent file for ipfs. To have launchd automatically run the ipfs daemon for you, do the following:
mkdir -p ~/Library/LaunchAgents
cp misc/launchctl/io.ipfs.ipfs-daemon.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/io.ipfs.ipfs-daemon.plist
Note that the ipfs binary must be on the system PATH for this to work. Adding a symlink in /usr/bin works well enough for me.