Last active
February 27, 2019 09:52
-
-
Save xiaoping378/4eabb1915ec2b64a06e5b7d996bb8214 to your computer and use it in GitHub Desktop.
geth systemd service
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=Ethereum go client | |
After=network.target | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=30s | |
ExecStart=/usr/sbin/geth --syncmode "fast" --ws --rpc --rpcapi "eth,net,web3,admin,personal,txpool,miner,clique" --rpccorsdomain "*" --rpcaddr 0.0.0.0 --cache 2048 --trie-cache-gens 1024 --txpool.accountslots 1024 --txpool.globalslots 40960 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这方式怎么配置geth的日志位置呢?