Skip to content

Instantly share code, notes, and snippets.

@jamiew
Last active February 12, 2021 16:46
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 jamiew/b5c98761e42e73cae599cf6ca2b42785 to your computer and use it in GitHub Desktop.
Save jamiew/b5c98761e42e73cae599cf6ca2b42785 to your computer and use it in GitHub Desktop.
[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=/snap/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub --enable-gc --migrate
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