fix(blockcheck): reap owned workers after each invocation
Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
59df7d58f5
commit
d508132b4f
4 files changed
+141
-21
No files matched your search
@@ -12,7 +12,7 @@ readme = (directory / "README.md").read_text()
|
||||
# parser if this definition grows beyond its single target service.
|
||||
assert " privileged: false\n" in compose
|
||||
assert " cap_drop: [ALL]\n" in compose
|
||||
assert " cap_add: [NET_ADMIN, NET_RAW, SETUID, SETGID]\n" in compose
|
||||
assert " cap_add: [NET_ADMIN, NET_RAW, SETUID, SETGID, KILL]\n" in compose
|
||||
assert compose.count(" - type: bind\n") == 1
|
||||
assert " source: ./target-state\n" in compose
|
||||
assert " target: /var/lib/zapret-autotune/target\n" in compose
|
||||
|
||||
@@ -7,8 +7,8 @@ services:
|
||||
dockerfile: Dockerfile.target
|
||||
privileged: false
|
||||
cap_drop: [ALL]
|
||||
# nft/NFQUEUE, nfqws2 raw sends, and --user=tpws UID/GID switching.
|
||||
cap_add: [NET_ADMIN, NET_RAW, SETUID, SETGID]
|
||||
# nft/NFQUEUE, raw sends, UID/GID switching, cleanup of dropped-UID workers.
|
||||
cap_add: [NET_ADMIN, NET_RAW, SETUID, SETGID, KILL]
|
||||
environment:
|
||||
SS_PASSWORD: ${SS_PASSWORD:?Set SS_PASSWORD in the deployment environment}
|
||||
SOCKS_PORT: "1080"
|
||||
|
||||
Reference in new issue
Block a user