blob: 02572197f36c38c5458e72abbabbba45028a9e2e [file] [log] [blame]
Scott Baker619de672016-06-20 12:49:38 -07001#!/usr/bin/env python
2
3# Runs the standard XOS synchronizer
4
5import importlib
6import os
7import sys
Matteo Scandolo71f404f2017-06-02 14:44:57 -07008from xosconfig import Config
9
10config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/exampleservice_config.yaml')
11Config.init(config_file, 'synchronizer-config-schema.yaml')
Scott Baker619de672016-06-20 12:49:38 -070012
13synchronizer_path = os.path.join(os.path.dirname(
Scott Bakere95023b2017-02-23 09:50:04 -080014 os.path.realpath(__file__)), "../../synchronizers/new_base")
Scott Baker619de672016-06-20 12:49:38 -070015sys.path.append(synchronizer_path)
16mod = importlib.import_module("xos-synchronizer")
17mod.main()
18