Skip to content

Instantly share code, notes, and snippets.

@faddat
Last active February 5, 2017 12:58
Show Gist options
  • Save faddat/dd58de868fee12b85d8e31168ffce93d to your computer and use it in GitHub Desktop.
Save faddat/dd58de868fee12b85d8e31168ffce93d to your computer and use it in GitHub Desktop.
Tendermint + glogchain systemd units
[Unit]
Description=Glogchain
[Service]
ExecStart=/root/.glogchain/glogchain
WorkingDirectory=/root/.glogchain
[Install]
WantedBy=multi-user.target
wget -O /etc/systemd/system/glogchain.service https://gist.github.com/faddat/dd58de868fee12b85d8e31168ffce93d/raw/92d769458dd8b3cd97fe38fab8a132619ef4edc1/glogchain.service
wget -O /etc/systemd/system/tendermint.service https://gist.github.com/faddat/dd58de868fee12b85d8e31168ffce93d/raw/92d769458dd8b3cd97fe38fab8a132619ef4edc1/tendermint.service
wget -O /etc/tendermint.env https://gist.github.com/faddat/dd58de868fee12b85d8e31168ffce93d/raw/92d769458dd8b3cd97fe38fab8a132619ef4edc1/tendermint.env
TMROOT=/root/.tendermint/
[Unit]
Description=Tendermint
After=glogchain
[Service]
EnvironmentFile=/etc/tendermint.env
ExecStart=/root/.tendermint/tendermint node --abci grpc
WorkingDirectory=/root/.tendermint
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment