review startup steps 'db' and 'accessors' - run accessors first, make
[plcapi.git] / plc.d / accessors
index ee13adb..1695f60 100755 (executable)
@@ -1,14 +1,18 @@
-#!/usr/bin/plcsh
+#!/usr/bin/python /usr/bin/plcsh
 # -*- python -*-
 
 #
-# priority: 901
+# run this before the 'db' step
+# various object creation functions might depend
+# on the tagtype being created, like
+# 'vref' and 'initscript' for slices, and possibly more
+#
+# priority: 899
 #
 
 from PLC.Accessor import AccessorSingleton
 
 if __name__ == '__main__':
-    print "Ensuring creationg of accessor tags"
-    print 'api=%r'%api
+    print "service plc start accessors : ensuring creation and consistency of accessor tags"
     AccessorSingleton(api).run_all_tag_locators()