Entropy/System Manager Repository Daemon example:

- add community_repo bool switch


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2449 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-10-03 01:55:50 +00:00
parent 00be8c1bbd
commit 374d5b11aa
+6 -1
View File
@@ -13,9 +13,13 @@ if "--ssl" in sys.argv:
if "--nostdout" in sys.argv:
do_stdout_logging = False
from entropyConstants import *
import entropyTools, exceptionTools
from entropy import SystemManagerServerInterface, SystemManagerExecutorServerRepositoryInterface, SystemManagerRepositoryCommands, ServerInterface
etpConst['community']['mode'] = True
def run_srv(s):
try:
s.go()
@@ -28,7 +32,8 @@ srv = SystemManagerServerInterface(
do_ssl = do_ssl,
stdout_logging = do_stdout_logging,
external_cmd_classes = [SystemManagerRepositoryCommands],
external_executor_cmd_classes = [(SystemManagerExecutorServerRepositoryInterface,[],{},)]
external_executor_cmd_classes = [(SystemManagerExecutorServerRepositoryInterface,[],{},)],
entropy_interface_kwargs = {'community_repo': etpConst['community']['mode']}
)
thread_names = ["system_socket"]