OSDN Git Service

Write pid file so we can tell when netd bounces.
authorRobert Greenwalt <rgreenwalt@google.com>
Sat, 1 Nov 2014 01:54:06 +0000 (18:54 -0700)
committerRobert Greenwalt <rgreenwalt@google.com>
Mon, 3 Nov 2014 21:59:34 +0000 (13:59 -0800)
commit347f69312176a54250a35afdc712b044c466fc73
tree903db1ed6d5183f3a570f6c079f9b9f68127aa37
parent64166e7666e3cc7f4b9c715f2b4e19d28ae44c5a
Write pid file so we can tell when netd bounces.

We clear the file early so people know it's died and rewrite after all the
setup and flushing of data is done so people know when it's safe to
repopulate the data.

bug:18069270
Change-Id: I954cf43ff02f1d352015f128ef88b659e6d0f95a
server/main.cpp