Commit c9154033 authored by Richard Jones's avatar Richard Jones

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
parent 41dc25c3
......@@ -72,7 +72,7 @@ runner_conf_template = """# %(package)sctl configuration file
%%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 @@ zdctl_template = """#!/bin/sh
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():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment