mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 19:21:57 +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:
@@ -203,10 +203,9 @@ After=${network}d.service
|
|||||||
WorkingDirectory=/home/btcrpcexplorer/btc-rpc-explorer
|
WorkingDirectory=/home/btcrpcexplorer/btc-rpc-explorer
|
||||||
ExecStart=/usr/bin/npm start
|
ExecStart=/usr/bin/npm start
|
||||||
User=btcrpcexplorer
|
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
|
Restart=on-failure
|
||||||
StartLimitIntervalSec=600
|
RestartSec=600
|
||||||
StartLimitBurst=2
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Reference in New Issue
Block a user