beremiz

close Pyro socket after daemon stop

2016-12-07, Andrey Skvortsov
38e5f8847a45
close Pyro socket after daemon stop


without that socket port is open after daemon shutdown.
As a result if you restart daemon with new settings (service name, for example),
it can't listen on already used port and opens the next free TCP port
regardless of requested settings.
<?xml version='1.0' encoding='utf-8'?>
<BeremizRoot xmlns:xsd="http://www.w3.org/2001/XMLSchema" URI_location="LOCAL://">
<TargetType>
<Linux/>
</TargetType>
</BeremizRoot>