Skip to content

Instantly share code, notes, and snippets.

@christroutner
Forked from MaxLaumeister/ipfs.service
Created January 25, 2020 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christroutner/6295e3cf1d69b1a54e0ffb8a29d01f52 to your computer and use it in GitHub Desktop.
Save christroutner/6295e3cf1d69b1a54e0ffb8a29d01f52 to your computer and use it in GitHub Desktop.
systemd script for ipfs-daemon run-on-boot
[Unit]
Description=IPFS daemon
After=network.target
[Service]
### Uncomment the following line for custom ipfs datastore location
# Environment=IPFS_PATH=/path/to/your/ipfs/datastore
ExecStart=/usr/local/bin/ipfs daemon
Restart=on-failure
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment