[Openvpn-devel] reading from the status file from another pid

2015-03-05 Thread Reinoud Koornstra
Hi Everyone, I've configured openvpn to write the status every 5 seconds to a status file. Looking at the code that when openvpn starts you call open() Then every 5 seconds, the status file is truncated in status_flush. Only when you close openvpn, the file descriptor will be closed again. Hence

[Openvpn-devel] reading from the status file from another pid

2015-03-05 Thread Reinoud Koornstra
Hi Everyone, I've configured openvpn to write the status every 5 seconds to a status file. Looking at the code that when openvpn starts you call open() Then every 5 seconds, the status file is truncated in status_flush. Only when you close openvpn, the file descriptor will be closed again. Hence