Skip to content

Instantly share code, notes, and snippets.

@gojun077
Created August 3, 2018 06:34
Show Gist options
  • Save gojun077/f3fa2ae84d61e4557c563f8b12a6807e to your computer and use it in GitHub Desktop.
Save gojun077/f3fa2ae84d61e4557c563f8b12a6807e to your computer and use it in GitHub Desktop.
[Unit]
Description=gaiad service for COSMOS/Tendermint BFT network
After=network.target
[Service]
Type=simple
User=ec2-user
Group=ec2-user
WorkingDirectory=/home/ec2-user/.gaiad
ExecStart=/home/ec2-user/goproj/bin/gaiad start
Restart=always
RestartSec=2
StandardOutput=syslog
StandardError=syslog
KillSignal=SIGKILL
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment