Skip to content

Instantly share code, notes, and snippets.

@xiaoping378
Last active February 27, 2019 09:52
Show Gist options
  • Save xiaoping378/4eabb1915ec2b64a06e5b7d996bb8214 to your computer and use it in GitHub Desktop.
Save xiaoping378/4eabb1915ec2b64a06e5b7d996bb8214 to your computer and use it in GitHub Desktop.
geth systemd service
[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
@ZhangZhen-SmartUp
Copy link

这方式怎么配置geth的日志位置呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment