Skip to content

Instantly share code, notes, and snippets.

@tgerring
Last active August 29, 2015 14:18
Show Gist options
  • Save tgerring/eae5e85bd62664d2f25d to your computer and use it in GitHub Desktop.
Save tgerring/eae5e85bd62664d2f25d to your computer and use it in GitHub Desktop.
Geth Upstart script
description "geth bootnode"
start on runlevel [2345]
stop on shutdown
respawn
respawn limit 10 5
setuid ubuntu
setgid ubuntu
script
exec bash -c '/home/ubuntu/go/bin/geth --rpc --maxpeers "64"'
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment