Skip to content

Instantly share code, notes, and snippets.

@mosquida
Created March 24, 2023 06:21
Show Gist options
  • Select an option

  • Save mosquida/ae83a9ca20b207b9e2496b321c6820c4 to your computer and use it in GitHub Desktop.

Select an option

Save mosquida/ae83a9ca20b207b9e2496b321c6820c4 to your computer and use it in GitHub Desktop.
ipfs.service daemon
[Unit]
Description=ipfs daemon
[Service]
ExecStart=/usr/local/bin/ipfs daemon --enable-gc
Restart=always
User=ubuntu
Group=ubuntu
Environment="IPFS_PATH=/home/ubuntu/ipfs/data"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment