blob: a58ff168fe8e3965857a1dba1d3970e614b7a39c [file] [log] [blame]
Scott Baker6ad03602017-06-01 17:34:31 -07001#!/usr/bin/env python
2
3# This imports and runs ../../xos-observer.py
4
5import importlib
6import os
7import sys
Matteo Scandoload2726e2017-06-06 10:35:33 -07008from xosconfig import Config
9
10config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/volt_config.yaml')
11Config.init(config_file, 'synchronizer-config-schema.yaml')
12
Scott Baker6ad03602017-06-01 17:34:31 -070013observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
14sys.path.append(observer_path)
15mod = importlib.import_module("xos-synchronizer")
16mod.main()