From: dbs Date: Tue, 9 Nov 2010 17:28:29 +0000 (+0000) Subject: Make start_all automatically daemonize services X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0261736aae286893c8cc9591ee3f227da8be6f41;p=opensrf%2Fbjwebb.git Make start_all automatically daemonize services git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2068 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/python/opensrf.py.in b/src/python/opensrf.py.in index cc5d8f4..49c6344 100755 --- a/src/python/opensrf.py.in +++ b/src/python/opensrf.py.in @@ -148,6 +148,10 @@ def do_start_all(): Start all Python services listed in the OpenSRF configuration file ''' + # You can't start more than one service without daemonizing + global as_daemon + as_daemon == True + print "* starting all services for %s " % domain for service in services.keys(): do_start(service)