[Zodb-checkins] CVS: ZODB3/ZEO - mkzeoinst.py:1.6
Guido van Rossum
guido@python.org
Wed, 22 Jan 2003 19:56:06 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv7016
Modified Files:
mkzeoinst.py
Log Message:
Add chkconfig support to the zeoctl script.
=== ZODB3/ZEO/mkzeoinst.py 1.5 => 1.6 ===
--- ZODB3/ZEO/mkzeoinst.py:1.5 Wed Jan 22 17:38:46 2003
+++ ZODB3/ZEO/mkzeoinst.py Wed Jan 22 19:56:03 2003
@@ -86,6 +86,15 @@
zeoctl_template = """#!/bin/sh
# ZEO instance start script
+
+# The following two lines are for chkconfig. On Red Hat Linux (and
+# some other systems), you can copy or symlink this script into
+# /etc/rc.d/init.d/ and then run chkconfig(8), to automatically start
+# ZEO at boot time.
+
+# chkconfig: 345 90 10
+# description: start a ZEO server
+
exec %(zdctl)s -C %(home)s/etc/runner.conf ${1+"$@"}
"""