Commit fea64cce authored by Timothée Jaussoin's avatar Timothée Jaussoin

Get the pid from the .pid file and not using pidof

parent 0931af6d
Pipeline #15595 passed with stages
in 4 minutes and 5 seconds
......@@ -27,7 +27,7 @@ class FlexisipConnector
public function __construct()
$pid = \trim(\shell_exec('pidof flexisip'));
$pid = file_get_contents('/var/run/');
$this->_socket = stream_socket_client('unix:///tmp/flexisip-proxy-'.$pid, $errno, $errstr);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment