From b2aea57d875d69fa852aa0376329ef37b32eeddc Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 11 Nov 2010 18:59:41 +0100 Subject: [PATCH] [services] slightly improve repositories-services-daemon.example code --- services/repository-services-daemon.example | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/services/repository-services-daemon.example b/services/repository-services-daemon.example index 43b595347..7d7f7b813 100755 --- a/services/repository-services-daemon.example +++ b/services/repository-services-daemon.example @@ -89,8 +89,8 @@ ugc_args = [ugc_connection_data,ugc_store_path,ugc_store_url] # configure my repositories repositories = { - ('sabayonlinux.org','amd64','standard','4',): { - 'dbpath': '/home/fabio/new.sabayonlinux.org/standard/amd64/4', + ('sabayonlinux.org','amd64','standard','5',): { + 'dbpath': '/repos/new.sabayonlinux.org/standard/amd64/5', 'cmethod': 'bz2', }, } @@ -144,12 +144,14 @@ if srv_ssl is not None: run_map = { "repodaemon": srv, - "repodaemon_ssl": srv_ssl, } +if srv_ssl is not None: + run_map["repodaemon_ssl"] = srv_ssl t_map = { "repodaemon": task, - "repodaemon_ssl": task2, } +if task2 is not None: + t_map["repodaemon_ssl"] = task2 def threads_alive(): for th in t_map.values():