mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-12 14:07:28 +00:00
Speed up proxy self-heal reconciliation
This commit is contained in:
parent
75d231bf53
commit
d08322e5f8
1 changed files with 3 additions and 2 deletions
|
|
@ -2905,8 +2905,8 @@ cat > "$SELFHEAL_TIMER_UNIT" <<'EOF'
|
|||
Description=Ensure pulse-sensor-proxy stays installed and running
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=30min
|
||||
OnBootSec=2min
|
||||
OnUnitActiveSec=5min
|
||||
Unit=pulse-sensor-proxy-selfheal.service
|
||||
|
||||
[Install]
|
||||
|
|
@ -2915,6 +2915,7 @@ EOF
|
|||
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now pulse-sensor-proxy-selfheal.timer >/dev/null 2>&1 || true
|
||||
systemctl start pulse-sensor-proxy-selfheal.service >/dev/null 2>&1 || true
|
||||
|
||||
if [ "$QUIET" = true ]; then
|
||||
print_success "pulse-sensor-proxy installed and running"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue