diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-08 15:52:36 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-08 15:52:36 +0000 |
| commit | 0769a0ea0a8654e5e50e03365545c8ccf58d6b91 (patch) | |
| tree | bfdfb13eaa85c277d64ba6972577e4ca71a49eec /test/python/test_mapping_methods.py | |
| parent | cfe873f6d60820f258a154e9c89c519687cb23c6 (diff) | |
| download | genenetwork4-0769a0ea0a8654e5e50e03365545c8ccf58d6b91.tar.gz | |
docs: match the server by argv[0], not by a substring of its command line
The restart section added a moment ago pointed at the trap and then walked into its other half: `nohup env … ./target/release/genenetwork4 &` leaves an `env` wrapper whose command line also contains the binary path, so matching `*release/genenetwork4*` finds the wrapper -- the pid file named a process that exits while the server keeps running, and the next `kill $(cat /tmp/gn4.pid)` did nothing at all. Read `argv[0]` (the first NUL-terminated word) and compare it to the binary path instead; that finds the serving process and only it. Applied here, it is what finally moved production off the previous build.
Diffstat (limited to 'test/python/test_mapping_methods.py')
0 files changed, 0 insertions, 0 deletions
