kubo/misc/launchd
Stephen Sugden 904ce1080e Add launchctl agent plist for OSX
I found this useful to have, and figured it might save somebody else a
few minutes of re-inventing the wheel.
2015-05-01 10:57:08 +02:00
..
io.ipfs.ipfs-daemon.plist Add launchctl agent plist for OSX 2015-05-01 10:57:08 +02:00
README.md Add launchctl agent plist for OSX 2015-05-01 10:57:08 +02:00

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.