acme: Get listener name from /proc/PID/exe instead of netstat output
authorToke Høiland-Jørgensen <[email protected]>
Fri, 26 Mar 2021 16:58:33 +0000 (17:58 +0100)
committerToke Høiland-Jørgensen <[email protected]>
Fri, 26 Mar 2021 19:06:34 +0000 (20:06 +0100)
commitc93127695531a2b7c213be16b2a0d84c4a9ae612
tree0de79efdfc1e9419dee09169f4a37d766d8a0d97
parent0e620f1fa147a7d510f6c499e5062d5dec063dcb
acme: Get listener name from /proc/PID/exe instead of netstat output

It seems the command name output from netstat can be truncated in weird
ways, so let's get the binary name from /proc instead and use that for
matching which listener we have.

Fixes #15071.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
net/acme/Makefile
net/acme/files/run.sh