X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fsfa-server.py;h=5e1db7256588385c9318f82aee9f38199992277b;hb=a3bf61fdc8315c475c07d733aac3b49981c42825;hp=968324e491a7b441c41fd6d440698b7781bccc9c;hpb=950153a447b02cdb987c939cac32e63caa8cf3aa;p=sfa.git diff --git a/sfa/server/sfa-server.py b/sfa/server/sfa-server.py index 968324e4..5e1db725 100755 --- a/sfa/server/sfa-server.py +++ b/sfa/server/sfa-server.py @@ -46,6 +46,8 @@ from sfa.server.slicemgr import SliceMgr from sfa.trust.hierarchy import Hierarchy +from sfa.util.config import Config + # after http://www.erlenstar.demon.co.uk/unix/faq_2.html def daemon(): """Daemonize the current process.""" @@ -110,7 +112,7 @@ def main(): AuthHierarchy = Hierarchy() - TrustedRoots = TrustedRootList() + TrustedRoots = TrustedRootList(Config().get_trustedroots_dir()) # start registry server if (options.registry):