#!/bin/bash export IPFS="/usr/local/bin/ipfs" export HOME="/home/ipfs" cd $HOME exec chpst -u ipfs $IPFS daemon