From 0261736aae286893c8cc9591ee3f227da8be6f41 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 9 Nov 2010 17:28:29 +0000 Subject: [PATCH] Make start_all automatically daemonize services git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2068 9efc2488-bf62-4759-914b-345cdb29e865 --- src/python/opensrf.py.in | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.43.2