Created
January 30, 2023 15:23
-
-
Save SEJeff/570da1424fef9158cf39eaae2d4dc551 to your computer and use it in GitHub Desktop.
Ethereum systemd service for wormhole client node.
This file contains hidden or 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
# /etc/systemd/system/geth.service | |
# Ansible managed | |
[Unit] | |
Description=geth node | |
After=network.target | |
[Service] | |
User=geth | |
Group=geth | |
ExecStart=/opt/bin/geth \ | |
--cache 8192 \ | |
--metrics \ | |
--pprof \ | |
--pprof.addr '[::]' \ | |
--syncmode snap \ | |
--datadir "/data/geth/data" \ | |
--http \ | |
--http.addr '[::]' \ | |
--http.api eth,web3,txpool,net \ | |
--http.vhosts=* \ | |
--authrpc.addr '[::]' \ | |
--authrpc.port '8551' \ | |
--authrpc.jwtsecret '/data/geth/data/jwt.hex' \ | |
--authrpc.vhosts=* \ | |
--ws \ | |
--ws.addr '[::]' \ | |
--ws.api eth,web3,txpool,net | |
LimitNOFILE=1024000 | |
Restart=always | |
RestartSec=10s | |
TimeoutStopSec=6000s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment