Update bonus.btc-rpc-explorer.sh

Fix warning: `/etc/systemd/system/./btc-rpc-explorer.service:10: Unknown lvalue 'StartLimitIntervalSec' in section 'Service', ignoring`
This commit is contained in:
frennkie 2020-09-07 12:25:56 +02:00 committed by GitHub
parent 25c10e5e90
commit 4f597627b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,10 +203,9 @@ After=${network}d.service
WorkingDirectory=/home/btcrpcexplorer/btc-rpc-explorer
ExecStart=/usr/bin/npm start
User=btcrpcexplorer
# Restart on failure but no more than 2 time every 10 minutes (600 seconds). Otherwise stop
# Restart on failure but no more than default times (DefaultStartLimitBurst=5) every 10 minutes (600 seconds). Otherwise stop
Restart=on-failure
StartLimitIntervalSec=600
StartLimitBurst=2
RestartSec=600
[Install]
WantedBy=multi-user.target