commit | 5317f034bacaab19af3181da8e9752cbb5b09a08 | [log] [tgz] |
---|---|---|
author | Chia-chi Yeh <chiachi@android.com> | Mon Aug 22 13:09:49 2011 -0700 |
committer | Chia-chi Yeh <chiachi@android.com> | Mon Aug 22 13:09:49 2011 -0700 |
tree | cc498387446d2ee763f887f874584d968f2c6738 | |
parent | 583b163feb9266d3b2080810a30ac68c7bd4760e [diff] |
VPN: stop daemons by closing the control sockets. As init now uses SIGKILL to stop daemons, performing graceful shutdown becomes impossible. Here we implement our own solution by asking daemons to monitor the control socket and terminate when it is closed. Change-Id: I07a28807173a81b7f95e70f4193e974317acf88a