Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
501f5dc8
Commit
501f5dc8
authored
Sep 18, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
bcab861c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
go/neo/t/neotest
go/neo/t/neotest
+7
-6
No files found.
go/neo/t/neotest
View file @
501f5dc8
...
...
@@ -107,16 +107,17 @@ $@
# XXX neo/py, wendelin.core, ... - must be pip install'ed
# XXX neo/py: run via relative path to neomaster? (../../neo/neomaster) so we do not need to `pip install -e` ?
# local IPv6 address
myaddr6
=
$(
getent hosts
`
hostname
`
|awk
'{print $1}'
)
# port allocations
# XXX 127.0.0.1 -> `hostname`? (or `hostname -i`)? or use @addr option? (-> -bindif=...)
Abind
=
127.0.0.1:5551
# NEO admin
Mbind
=
127.0.0.1:5552
# NEO master
Zbind
=
127.0.0.1:5553
# ZEO
Abind
=[
$myaddr6
]
:5551
# NEO admin
Mbind
=[
$myaddr6
]
:5552
# NEO master
Zbind
=[
$myaddr6
]
:5553
# ZEO
# NEO storage. bind not strictly needed but we make sure no 2 storages are
# started at the same time
Sbind
=
127.0.0.1
:5554
Sbind
=
[
$myaddr6
]
:5554
# disk allocation
log
=
`
pwd
`
/log
;
mkdir
-p
$log
...
...
@@ -367,7 +368,7 @@ pyver() {
# show data/versions
header
()
{
echo
-n
"# "
;
date
--rfc-2822
echo
"#
`
whoami
`
@
`
hostname
--fqdn
`
"
;
echo
"#
`
whoami
`
@
`
hostname
--fqdn
`
(
$myaddr6
)
"
;
echo
-n
"# "
;
grep
"^model name"
/proc/cpuinfo |head
-1
|sed
-e
's/model name\s*: //'
echo
-n
"# "
;
uname
-a
echo
-n
"# "
;
python
--version
...
...
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