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
|
Description=Ensure pulse-sensor-proxy stays installed and running
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnBootSec=5min
|
OnBootSec=2min
|
||||||
OnUnitActiveSec=30min
|
OnUnitActiveSec=5min
|
||||||
Unit=pulse-sensor-proxy-selfheal.service
|
Unit=pulse-sensor-proxy-selfheal.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
@ -2915,6 +2915,7 @@ EOF
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable --now pulse-sensor-proxy-selfheal.timer >/dev/null 2>&1 || true
|
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
|
if [ "$QUIET" = true ]; then
|
||||||
print_success "pulse-sensor-proxy installed and running"
|
print_success "pulse-sensor-proxy installed and running"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue