mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
18 lines
346 B
Desktop File
18 lines
346 B
Desktop File
[Unit]
|
|
Description=bor
|
|
StartLimitIntervalSec=500
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
WorkingDirectory=$NODE_DIR
|
|
EnvironmentFile=/etc/matic/metadata
|
|
ExecStart=/usr/local/bin/bor $VALIDATOR_ADDRESS
|
|
Type=simple
|
|
User=$USER
|
|
KillSignal=SIGINT
|
|
TimeoutStopSec=120
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|