Created
September 22, 2018 01:57
-
-
Save MaxLaumeister/0b8035c92ceb32a5062a78bc32734a94 to your computer and use it in GitHub Desktop.
systemd script for ipfs-daemon run-on-boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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