Created attachment 200849 [details] update to files/ipfs-go.in for ipfs_go_path Current rc.d/ipfs-go only support repo located in ~%%IPFS_GO_USER%%/.ipfs location, in my particular setup I have user accounts and large storage on separate mounts. The ipfs-go binary supports setting the location the ipfs repo using a IPFS_PATH environment variable and the patch attached adds support for (optionally) setting the IPFS_PATH environment variable via ipfs_go_path flag in rc.conf.
I've slightly modified your patch to actually work ;-) You can find it here: https://reviews.freebsd.org/D18776 Once it gets reviewed I will commit it. Thanks for the patch.
A commit references this bug: Author: jhixson Date: Tue Jan 8 02:11:54 UTC 2019 New revision: 489638 URL: https://svnweb.freebsd.org/changeset/ports/489638 Log: sysutils/ipfs-go: allow IPFS_PATH to be set PR: 234673 Submitted by: david@bolcsfoldi.com Reviewed by: araujo (mentor) Approved by: araujo (mentor) Changes: head/sysutils/ipfs-go/Makefile head/sysutils/ipfs-go/files/ipfs-go.in