Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/ap/omero/omero-config.patch

39 lines
2.1 KiB

diff -Naur omero.orig/etc/grid/default.xml omero/etc/grid/default.xml
--- omero.orig/etc/grid/default.xml 2009-05-08 13:32:22.000000000 +0200
+++ omero/etc/grid/default.xml 2009-08-20 00:30:01.000000000 +0200
@@ -41,10 +41,10 @@
server-endpoints="tcp -h 127.0.0.1"/>
<server-instance template="BlitzTemplate" index="0" config="default"/>
<server-instance template="IndexerTemplate" index="0"/>
- <server-instance template="DropBoxTemplate"/>
+ <!-- <server-instance template="DropBoxTemplate"/> -->
<server-instance template="FSTemplate"/>
<server-instance template="ProcessorTemplate" index="0"/>
- <server-instance template="ShellTemplate" id="Web" act="on-demand"/>
+ <server-instance template="ShellTemplate" id="Web" act="always"/>
<server-instance template="StormTemplate"/>
</node>
diff -Naur omero.orig/etc/grid/templates.xml omero/etc/grid/templates.xml
--- omero.orig/etc/grid/templates.xml 2009-05-08 13:32:22.000000000 +0200
+++ omero/etc/grid/templates.xml 2009-08-20 00:28:26.000000000 +0200
@@ -115,6 +115,7 @@
<option>manage.py</option>
<option>runserver</option>
<option>--noreload</option>
+ <option>127.0.0.1:8000</option>
<env>${PYTHONPATH}</env>
<adapter name="WebAdapter" register-process="true" endpoints="tcp" server-lifetime="false"/>
</server>
diff -Naur omero.orig/lib/python/omero/plugins/server.py omero/lib/python/omero/plugins/server.py
--- omero.orig/lib/python/omero/plugins/server.py 2009-05-08 13:32:22.000000000 +0200
+++ omero/lib/python/omero/plugins/server.py 2009-08-20 00:28:26.000000000 +0200
@@ -72,7 +72,7 @@
subprocess.call(["python","manage.py","syncdb","--noinput"], cwd=str(omero_web), env = os.environ)
# Now exec
os.chdir(str(omero_web))
- django = ["python","manage.py","runserver","--noreload"]+list(args)
+ django = ["python","manage.py","runserver","0.0.0.0:8000","--noreload"]+list(args)
os.execvpe("python", django, os.environ)
try:
register("server", ServerControl)