Skip to content

Instantly share code, notes, and snippets.

@rraallvv
Created October 20, 2018 12:01
Show Gist options
  • Save rraallvv/7bdb82c14ed787fbed3ee1b8a0e20f24 to your computer and use it in GitHub Desktop.
Save rraallvv/7bdb82c14ed787fbed3ee1b8a0e20f24 to your computer and use it in GitHub Desktop.
Ethereum service
[Unit]
Description=The Ethereum Blockchain Command Line Interface
After=network.target
[Service]
User=deploy
Group=deploy
ExecStart=/usr/bin/geth --rpc --syncmode "light" --cache=512 --rpcport=8545 --rpcapi eth,personal,net,web3,db --datadir /home/deploy/.ethereum
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment