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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
62ac94cb
Commit
62ac94cb
authored
Apr 10, 2001
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved misc files to release directory
parent
3bae816a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
38 deletions
+0
-38
trunk/src/ZEO/misc/README
trunk/src/ZEO/misc/README
+0
-2
trunk/src/ZEO/misc/custom_zodb.py
trunk/src/ZEO/misc/custom_zodb.py
+0
-33
trunk/src/ZEO/misc/stop_zeo
trunk/src/ZEO/misc/stop_zeo
+0
-3
No files found.
trunk/src/ZEO/misc/README
deleted
100644 → 0
View file @
3bae816a
This directory contains some sampe scripts for starting/stopping ZEO, etc.
Please feel free to submit improvements. :)
trunk/src/ZEO/misc/custom_zodb.py
deleted
100644 → 0
View file @
3bae816a
# 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'
),
)
trunk/src/ZEO/misc/stop_zeo
deleted
100644 → 0
View file @
3bae816a
#!/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