diff --git a/netconnectd/server.py b/netconnectd/server.py index e049b18..e2a6bb7 100644 --- a/netconnectd/server.py +++ b/netconnectd/server.py @@ -121,7 +121,7 @@ def exception_logger(exc_type, exc_value, exc_tb): self.link_thread.daemon = True # we start out with a fully maxed link down count so that we will directly try to create a connection - self.link_down_count = linkmon_maxdown + self.link_down_count = 0 # we need to make sure that client messages and link events are never handled concurrently, so we synchronize via # this mutex diff --git a/setup.py b/setup.py index 7ea8800..5ad23d6 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ ('/etc/init.d/', [('extras/netconnectd.init', 'netconnectd', 0755)]), ('/etc/default/', [('extras/netconnectd.default', 'netconnectd', 0644)]), ('/etc/', [('extras/netconnectd.yaml', 'netconnectd.yaml', 0600)]), - ('/etc/logrotate.d/', [('extras/netconnectd.logrotate', 'logrotate', 0644)]), + ('/etc/logrotate.d/', [('extras/netconnectd.logrotate', 'netconnectd', 0644)]), ]