Skip to content

Instantly share code, notes, and snippets.

@mswezey23
Created August 21, 2020 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mswezey23/f6770bb6c0cd8e0aa998c24c48eb064a to your computer and use it in GitHub Desktop.
Save mswezey23/f6770bb6c0cd8e0aa998c24c48eb064a to your computer and use it in GitHub Desktop.
[Unit]
Description=Polkadot Validator
[Service]
WorkingDirectory=/home/ubuntu/GitHub/substrate-node-template
NODENAME="YOUR NODE NAME"
CHAINJSON="./shiftSubstrateTN02.json"
ExecStart=/home/ubuntu/GitHub/substrate-node-template/target/release/node-template --base-path /home/ubuntu/substrateShift --chain=$CHAINJSON --port 30333 --ws-port 9944 --rpc-port 9933 --validator --rpc-methods=Unsafe --name $NODENAME --rpc-cors all
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment