Skip to content

Instantly share code, notes, and snippets.

@novy4
Created September 6, 2023 16:10
Show Gist options
  • Save novy4/ec7b36a1b875cb9ad0c1a88099a93cae to your computer and use it in GitHub Desktop.
Save novy4/ec7b36a1b875cb9ad0c1a88099a93cae to your computer and use it in GitHub Desktop.
heimdallr.service
[Unit]
Description=Heimdallr
After=network.target
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
Type=simple
Restart=on-failure
RestartSec=5
TimeoutSec=900
User=polygon
Nice=0
LimitNOFILE=200000
WorkingDirectory=/home/polygon/.local/share/heimdall/
ExecStart=/home/polygon/heimdall/build/heimdalld --home /home/polygon/.local/share/heimdall/ rest-server --chain-id=137
KillSignal=SIGHUP
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment