Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Kirill Smelkov
ZEO
Commits
a407ebd7
Commit
a407ebd7
authored
Apr 10, 2001
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved misc files to release directory
parent
9efcbf51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
38 deletions
+0
-38
src/ZEO/misc/README
src/ZEO/misc/README
+0
-2
src/ZEO/misc/custom_zodb.py
src/ZEO/misc/custom_zodb.py
+0
-33
src/ZEO/misc/stop_zeo
src/ZEO/misc/stop_zeo
+0
-3
No files found.
src/ZEO/misc/README
deleted
100644 → 0
View file @
9efcbf51
This directory contains some sampe scripts for starting/stopping ZEO, etc.
Please feel free to submit improvements. :)
src/ZEO/misc/custom_zodb.py
deleted
100644 → 0
View file @
9efcbf51
# Sample custom_zodb.py
__version__
=
"$Revision: 1.1 $"
[
11
:
-
2
]
# In situations where we switch between different storages, we've
# found it useful to use if-elif-else pattern.
import
os
if
0
:
# Change the 0 to 1 to enable!
# ZEO Unix Domain Socket
# This import isn't strictly necessary but is helpful when
# debugging and while Zope's and Python's asyncore are out of sync
# to make sure we get the right version of asyncore.
import
ZServer
import
ZEO.ClientStorage
Storage
=
ZEO
.
ClientStorage
.
ClientStorage
(
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'zeo.soc'
),
# If no name is given, then connection info will be shown:
name
=
"ZEO Storage"
,
# You can specify the storage name, which defaults to "1":
storage
=
"1"
,
)
else
:
# Default FileStorage
import
ZODB.FileStorage
Storage
=
ZODB
.
FileStorage
.
FileStorage
(
os
.
path
.
join
(
INSTANCE_HOME
,
'var'
,
'Data.fs'
),
)
src/ZEO/misc/stop_zeo
deleted
100644 → 0
View file @
9efcbf51
#!/bin/sh
reldir
=
`
dirname
$0
`
kill
`
cat
$reldir
/var/ZEO_SERVER.pid
`
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