added python

This commit is contained in:
Rafael.Timmerberg 2013-08-20 03:06:08 +02:00
commit 863ea67d06
2 changed files with 11 additions and 5 deletions

View file

@ -62,8 +62,6 @@ def main():
scheduler.start()
jobs = []
for layout in linConf.get_enabled_layouts():
for hostgroup in layout.get_hostgroups():
for service in hostgroup.get_services():
@ -81,8 +79,6 @@ def main():
log.d("shutting down scheduler")
scheduler.shutdown(wait=False)
elif args.action == "stop":
log.i("stopping linspector is currently unsupported")
elif args.action == "restart":