void-packages/srcpkgs/go-ipfs/files/ipfs/run
2020-10-24 23:06:05 +02:00

4 lines
154 B
Bash
Executable file

#!/bin/sh
[ -r conf ] && . ./conf
export IPFS_PATH=${IPFS_PATH:=/var/lib/ipfs}
exec chpst -u _ipfs ipfs daemon ${OPTS:=--init --enable-gc --migrate} 2>&1