[Zodb-checkins] CVS: Zope/lib/python/ZEO - mkzeoinst.py:1.16
Richard Jones
rjones@ekit-inc.com
Thu, 3 Apr 2003 02:11:05 -0500
Update of /cvs-repository/Zope/lib/python/ZEO
In directory cvs.zope.org:/tmp/cvs-serv10780/lib/python/ZEO
Modified Files:
mkzeoinst.py
Log Message:
Make ZEO instances that actually work:
- the scripts won't be in the user's $PATH, so override that lookup
in from mkzeoinst.py in the mkzeoinstance script
- the scripts won't be executable, so prepend commands with $python
=== Zope/lib/python/ZEO/mkzeoinst.py 1.15 => 1.16 ===
--- Zope/lib/python/ZEO/mkzeoinst.py:1.15 Mon Mar 17 16:50:01 2003
+++ Zope/lib/python/ZEO/mkzeoinst.py Thu Apr 3 02:11:03 2003
@@ -72,7 +72,7 @@
%%define INSTANCE %(home)s
<runner>
- program %(server)s -C $INSTANCE/etc/%(package)s.conf
+ program %(python)s %(server)s -C $INSTANCE/etc/%(package)s.conf
socket-name $INSTANCE/etc/%(package)s.zdsock
daemon true
forever false
@@ -109,7 +109,7 @@
INSTANCE='%(home)s'
-exec %(zdctl)s -C "$INSTANCE/etc/%(package)sctl.conf" ${1+"$@"}
+exec %(python)s %(zdctl)s -C "$INSTANCE/etc/%(package)sctl.conf" ${1+"$@"}
"""
def main():