Created
August 21, 2020 20:07
-
-
Save mswezey23/f6770bb6c0cd8e0aa998c24c48eb064a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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