Skip to content

Instantly share code, notes, and snippets.

@MaxLaumeister
Created September 22, 2018 01:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MaxLaumeister/0b8035c92ceb32a5062a78bc32734a94 to your computer and use it in GitHub Desktop.
Save MaxLaumeister/0b8035c92ceb32a5062a78bc32734a94 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