lemonbar: Breakout condition logic to Shelf class

This commit is contained in:
kuben
2020-01-06 23:01:52 +01:00
committed by Jakub Fojt
parent 3ad338dbe4
commit a57aa206aa
3 changed files with 36 additions and 24 deletions

View File

@@ -210,7 +210,7 @@ if __name__ == "__main__":
common.health_logger = logging.getLogger('Health logger')
common.health_logger.addHandler(handler)
# common.logger.basicConfig(stream=sys.stdout, level=debuglvl)
# Make sure no other instance running and ensure clean up on exit
assert_only_instance() # Creates pid file and fifo file
atexit.register(clean_up)
signal.signal(signal.SIGTERM, handle_exit)