[Opensrf-commits] r2068 - trunk/src/python (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Nov 9 12:28:33 EST 2010
Author: dbs
Date: 2010-11-09 12:28:29 -0500 (Tue, 09 Nov 2010)
New Revision: 2068
Modified:
trunk/src/python/opensrf.py.in
Log:
Make start_all automatically daemonize services
Modified: trunk/src/python/opensrf.py.in
===================================================================
--- trunk/src/python/opensrf.py.in 2010-11-09 16:21:15 UTC (rev 2067)
+++ trunk/src/python/opensrf.py.in 2010-11-09 17:28:29 UTC (rev 2068)
@@ -148,6 +148,10 @@
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)
More information about the opensrf-commits
mailing list