review startup steps 'db' and 'accessors' - run accessors first, make
[plcapi.git] / plc.d / accessors
1 #!/usr/bin/python /usr/bin/plcsh
2 # -*- python -*-
3
4 #
5 # run this before the 'db' step
6 # various object creation functions might depend
7 # on the tagtype being created, like
8 # 'vref' and 'initscript' for slices, and possibly more
9 #
10 # priority: 899
11 #
12
13 from PLC.Accessor import AccessorSingleton
14
15 if __name__ == '__main__':
16     print "service plc start accessors : ensuring creation and consistency of accessor tags"
17     AccessorSingleton(api).run_all_tag_locators()
18