node-phantom-simple
node-phantom-simple copied to clipboard
Removing get pid alternative command that not works on gcloud container instance
The follow code line trigger an error on gcloud container instance throwning:
"Error executing command to extract phantom ports: Error: Command failed: ss -nlp | grep "[,=]39," || netstat -nlp | grep "[[:space:]]39/" /bin/sh: 1: ss: not found /bin/sh: 1: netstat: not found"
This error catch a phantom kill instance.