Last active
February 12, 2018 01:25
-
-
Save MSeven/63de2c9cdabcd0e59c8e 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=Geth Ethereum node | |
After=network.target | |
[Service] | |
Type=simple | |
EnvironmentFile=-/etc/default/geth | |
ExecStart=/usr/bin/geth $GETH_ENABLE_RPC $GETH_CACHE $GETH_MAXPEERS | |
User=ethereumuser | |
RemainAfterExit=true | |
[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
GETH_ENABLE_RPC="--rpc" | |
GETH_CACHE="--cache 1024" | |
GETH_MAXPEERS="--maxpeers 25" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment