2019-04-05 14:01:36 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import time
|
2021-08-27 17:28:26 +02:00
|
|
|
|
|
|
|
from lookyloo.abstractmanager import AbstractManager
|
2019-04-05 14:01:36 +02:00
|
|
|
|
2020-10-03 21:19:43 +02:00
|
|
|
|
|
|
|
def main():
|
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()
|