Run idle culler as a tljh module

This commit is contained in:
GeorgianaElena
2019-06-24 13:34:51 +03:00
parent 55a5ac186e
commit be388ab68a
2 changed files with 3 additions and 3 deletions

View File

@@ -208,7 +208,7 @@ def set_cull_idle_service(config):
Set Idle Culler service
"""
cull_cmd = [
sys.executable, '/srv/src/tljh/cull_idle_servers.py'
sys.executable, '-m', 'tljh.cull_idle_servers'
]
cull_config = config['services']['cull']
print()