mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-03 17:38:16 +02:00
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:
parent
25c10e5e90
commit
4f597627b8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user