Skip to content

eBPF-based security platform

testing/vm: keep the keepalive timer's boot trigger on a local stack

John Fastabenda056c7fc3e7d
diff --git a/testing/vm/guest.sh b/testing/vm/guest.sh
index 6f2374af..84f33416 100755
--- a/testing/vm/guest.sh
+++ b/testing/vm/guest.sh
@@ -307,7 +307,9 @@ quicken_local_stack_timers()
EOF
cat >/etc/systemd/system/shirudo-keepalive.timer.d/local-stack.conf <<-'EOF'
[Timer]
+ OnBootSec=
OnUnitInactiveSec=
+ OnBootSec=5s
OnUnitInactiveSec=10s
EOF
systemctl daemon-reload