mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-23 09:15:32 +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,
|
hotline_file = os.path.join(self.basedir,
|
||||||
self.SUICIDE_PREVENTION_HOTLINE_FILE)
|
self.SUICIDE_PREVENTION_HOTLINE_FILE)
|
||||||
if os.path.exists(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 = TimerService(1.0, self._check_hotline, hotline_file)
|
||||||
hotline.setServiceParent(self)
|
hotline.setServiceParent(self)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user