Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
40f26cd5
Commit
40f26cd5
authored
Jan 23, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add chkconfig support to the zeoctl script.
parent
d9af3968
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/ZEO/mkzeoinst.py
src/ZEO/mkzeoinst.py
+9
-0
No files found.
src/ZEO/mkzeoinst.py
View file @
40f26cd5
...
@@ -86,6 +86,15 @@ runner_conf_template = """# runner configuration file
...
@@ -86,6 +86,15 @@ runner_conf_template = """# runner configuration file
zeoctl_template
=
"""#!/bin/sh
zeoctl_template
=
"""#!/bin/sh
# ZEO instance start script
# 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+"$@"}
exec %(zdctl)s -C %(home)s/etc/runner.conf ${1+"$@"}
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment