[Unit] Description=IPFS daemon After=network.target [Service] ### Uncomment the following line for custom ipfs datastore location Environment=IPFS_PATH=/home/wolfgang/.ipfs/ ExecStart=/usr/local/bin/ipfs daemon --enable-gc Restart=on-failure User=wolfgang RestartSec=1 Restart=always Environment=IPFS_FD_MAX=8192 [Install] WantedBy=default.target