2019-04-05 14:01:36 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import time
|
2021-08-27 17:28:26 +02:00
|
|
|
|
2021-10-18 13:06:43 +02:00
|
|
|
from lookyloo.default import AbstractManager
|
2019-04-05 14:01:36 +02:00
|
|
|
|
2020-10-03 21:19:43 +02:00
|
|
|
|
2024-01-12 17:15:41 +01:00
|
|
|
def main() -> None:
|
2021-08-27 17:28:26 +02:00
|
|
|
AbstractManager.force_shutdown()
|
2019-04-05 14:01:36 +02:00
|
|
|
time.sleep(5)
|
|
|
|
while True:
|
2021-08-27 17:28:26 +02:00
|
|
|
running = AbstractManager.is_running()
|
2019-04-05 14:01:36 +02:00
|
|
|
if not running:
|
|
|
|
break
|
|
|
|
print(running)
|
|
|
|
time.sleep(5)
|
2020-10-03 21:19:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|