Created
August 24, 2019 22:12
-
-
Save kwunyeung/df7a0f5e08e61a8461460c26fbdc530b to your computer and use it in GitHub Desktop.
systemd unit file for polkadot
This file contains hidden or 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 Node | |
After=network-online.target | |
[Service] | |
User={user running polkadot} | |
ExecStart={path to polkadot bin}/polkadot --chain alex --validator --name {validator name} --key {validator key} | |
Restart=always | |
RestartSec=3 | |
LimitNOFILE=4096 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment