Re-create control socket file node if it disappears.
authorDavin McCall <davmac@davmac.org>
Sat, 29 Jun 2019 03:41:38 +0000 (13:41 +1000)
committerDavin McCall <davmac@davmac.org>
Sat, 29 Jun 2019 03:41:38 +0000 (13:41 +1000)
commitb3a5c8318e12b0bed24b5ea878b1ad2aa9aab61a
tree60e8d129fab527fb87e14650c27501b59b992847
parentdc1965e59de4c3a5a91cf0e694a46b50ac87d8a1
Re-create control socket file node if it disappears.

In case something is mounted over /dev (or wherever the control socket
lives) it will become inaccessible. When a starts-rwfs service starts,
check the socket node still exists and if not, close the socket and
re-open.
src/dinit.cc