Created
May 19, 2020 19:19
-
-
Save prestonvanloon/e0bb176bdb6963fde42fc71be3f64770 to your computer and use it in GitHub Desktop.
Prysm systemctl
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=Prysm Beacon Chain | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
User=ubuntu | |
# optional, specify a specific version | |
#Environment=USE_PRYSM_VERSION=v1.0.0-alpha.7 | |
ExecStart=/eth2/prysm.sh beacon-chain --datadir=/eth2 --dev | |
[Install] | |
WantedBy=multi-user.target |
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=Prysm Validator | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=120 | |
User=ubuntu | |
# optional, specify a specific version | |
#Environment=USE_PRYSM_VERSION=v1.0.0-alpha.7 | |
ExecStart=/eth2/prysm.sh validator --datadir=/eth2/validator --graffiti "changeme" --keystore-path=/eth2/keystore --password="changeme" | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment