mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-24 15:12:55 +08:00
`launchd` doesn't allow you to *use* environment variables. Nor does it support tilde-expansion of program names & arguments after OSX 10.10. To work around this, I've made the plist file a template and included a small install script that will interpolate the correct values.
ipfs launchd agent
A bare-bones launchd agent file for ipfs. To have launchd automatically run the ipfs daemon for you, run ./misc/launchd/install.sh
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.