Open AstraLuma opened 9 months ago
If socat dies unceremoniously (computer dies, kill -9, etc), it'll leave a lockfile.
kill -9
When starting the agent forward, ensure the socat lockfile is still valid.
Helpfully, the lockfile appears to contain the PID, so unholy just needs to check if:
If socat dies unceremoniously (computer dies,
kill -9
, etc), it'll leave a lockfile.When starting the agent forward, ensure the socat lockfile is still valid.