Page 1 of 1

How to know vpnserver pid ?

Posted: Wed Mar 12, 2014 10:22 am
by arprip
Hi, All:

I know that when vpnserver is running, there is a pid file will be created.

but it seems that it will be random appended some number in filename.

based no change source codes, Could it always use this same filename

for example the filename for pid is vpnserver_pid

it will easy to use script to stop / restart it again.

Any good suggestion about this ?