joystream-node.service.j2 657 B

12345678910111213141516171819202122232425
  1. [Unit]
  2. Description=Joystream Node
  3. After=network.target
  4. [Service]
  5. Type=simple
  6. User=ubuntu
  7. WorkingDirectory=/home/ubuntu/joystream/
  8. ExecStart=/home/ubuntu/joystream/target/release/joystream-node \
  9. --chain {{ template_remote_chain_spec_path }} \
  10. --ws-external \
  11. --rpc-cors all \
  12. --pruning archive \
  13. --ws-max-connections 512 \
  14. --telemetry-url "wss://telemetry.joystream.org/submit/ 0" \
  15. --telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
  16. --reserved-nodes \
  17. {{ boot_nodes|join(" ") }}
  18. Restart=on-failure
  19. RestartSec=3
  20. LimitNOFILE=16384
  21. [Install]
  22. WantedBy=multi-user.target