joystream-node.service.j2 555 B

123456789101112131415161718192021
  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. --pruning archive \
  11. --node-key-file {{ template_secret_path }} \
  12. --keystore-path {{ template_keystore_path }} \
  13. --validator \
  14. --log runtime,txpool,transaction-pool,trace=sync
  15. Restart=on-failure
  16. RestartSec=3
  17. LimitNOFILE=10000
  18. [Install]
  19. WantedBy=multi-user.target