mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
client.py: make a note in the logs when the auto-shutdown feature is in use
This commit is contained in:
@ -65,6 +65,7 @@ class Client(node.Node, Referenceable):
|
||||
hotline_file = os.path.join(self.basedir,
|
||||
self.SUICIDE_PREVENTION_HOTLINE_FILE)
|
||||
if os.path.exists(hotline_file):
|
||||
self.log("hotline file noticed, starting timer")
|
||||
hotline = TimerService(1.0, self._check_hotline, hotline_file)
|
||||
hotline.setServiceParent(self)
|
||||
|
||||
|
Reference in New Issue
Block a user