lookyloo/bin/shutdown.py

21 lines
349 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
import time
2021-10-18 13:06:43 +02:00
from lookyloo.default import AbstractManager
2024-01-12 17:15:41 +01:00
def main() -> None:
AbstractManager.force_shutdown()
time.sleep(5)
while True:
running = AbstractManager.is_running()
if not running:
break
print(running)
time.sleep(5)
if __name__ == '__main__':
main()