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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user