storage-node.service 564 B

1234567891011121314151617181920212223
  1. [Unit]
  2. Description=Joystream Storage Node
  3. After=network.target joystream-node.service
  4. [Service]
  5. User=root
  6. WorkingDirectory=/root/joystream/
  7. LimitNOFILE=10000
  8. ExecStart=/root/.volta/bin/yarn storage-node server \
  9. -u ws://localhost:9944 \
  10. -w 7 \
  11. -o 3333 \
  12. -l /root/.joystream-storage/log/ \
  13. -d /root/.joystream-storage \
  14. -q http://localhost:8081/graphql \
  15. -p <password> \
  16. -k /root/keys/storage-role-key.json \
  17. -s
  18. Restart=on-failure
  19. StartLimitInterval=600
  20. [Install]
  21. WantedBy=multi-user.target