2018-07-13 14:51:00 +02:00
|
|
|
#!/usr/bin/env python3
|
2018-03-29 22:37:28 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from subprocess import Popen
|
2018-03-30 14:33:33 +02:00
|
|
|
from bgpranking.libs.helpers import get_homedir
|
2018-03-29 22:37:28 +02:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2018-03-30 14:33:33 +02:00
|
|
|
get_homedir()
|
2018-03-29 22:37:28 +02:00
|
|
|
p = Popen(['shutdown.py'])
|
|
|
|
p.wait()
|
|
|
|
Popen(['run_backend.py', '--stop'])
|