Run the IPFS daemon as a Linux system init daemon
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
init.d
lib
README.md
install-ipfs.sh
update-ipfs.sh

README.md

IPFS Linux Init Daemon

Note that for multi-user systems this is entirely useless. For a single user system however, it's helpful because IPFS will automatically be started at boot and always be at the ready without resorting to running it in a screen process.

Install

To install ipfs as a daemon, simply run:

./install-ipfs.sh

I also included a script that enables you to easily update ipfs. That can be run with:

./update-ipfs.sh

Note that these don't require being ran as root, but will instead later ask for root permissions.

You'll be able to later start and stop the daemon with the command:

sudo service ipfs start/stop/restart