Skip to content

Instantly share code, notes, and snippets.

@htkcodes
Created November 6, 2021 05:42
Show Gist options
  • Save htkcodes/279f75eaa3bb0964cde2ce9b36a725ba to your computer and use it in GitHub Desktop.
Save htkcodes/279f75eaa3bb0964cde2ce9b36a725ba to your computer and use it in GitHub Desktop.
geth
[Unit]
Description=Ethereum go client
After=syslog.target network.target
[Service]
User=geth
Group=geth
Type=simple
WorkingDirectory=/opt/bsc
ExecStart=/opt/bsc/build/bin/geth --config config.toml --datadir node --cache 18000 --ws --ws.port=8546 --ws.origins=* --syncmode=fast --verbosity=3 --v5disc --cache=48934 --maxpeers 750
KillMode=process
KillSignal=SIGINT
TimeoutStopSec=90
Restart=on-failure
RestartSec=10s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment