fix(startup): reconcile profiles before bounded activation
Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
b1e458a0a5
commit
e2cfccedf1
9 files changed
+338
-25
No files matched your search
@@ -43,3 +43,8 @@ compose_command = "/usr/bin/docker compose --env-file deploy/managed-target/.env
|
||||
assert directives["ExecStart"] == compose_command + " up --no-build --abort-on-container-exit --exit-code-from target target"
|
||||
assert directives["ExecStop"] == compose_command + " stop target"
|
||||
assert "timeout -k 5 30 /opt/zapret2/init.d/sysv/zapret2 stop" in entrypoint
|
||||
for command, seconds in (("/usr/local/bin/zapret-autotune managed init", 45),
|
||||
("/usr/local/bin/zapret-autotune managed reconcile", 45),
|
||||
("/opt/zapret2/init.d/sysv/zapret2 start", 30)):
|
||||
assert f"timeout -k 5 {seconds} {command} || exit 78" in entrypoint
|
||||
assert entrypoint.index("managed reconcile || exit 78") < entrypoint.index("zapret2 start || exit 78")
|
||||
Reference in new issue
Block a user