Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nucleo
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blockchain
nucleo
Commits
263039f4
Commit
263039f4
authored
6 years ago
by
Robert Martin-Legene
Browse files
Options
Downloads
Patches
Plain Diff
Verbose service starts
parent
3b3f98a4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/start.sh
+14
-6
14 additions, 6 deletions
bin/start.sh
with
14 additions
and
6 deletions
bin/start.sh
+
14
−
6
View file @
263039f4
...
@@ -50,11 +50,6 @@ function getsyncmode
...
@@ -50,11 +50,6 @@ function getsyncmode
test
-n
"
${
BFAACCOUNT
}
"
||
test
-n
"
${
BFAACCOUNT
}
"
||
fatal
"No account defined."
fatal
"No account defined."
if
[
-t
1
]
then
echo
Logging everything to
${
BFANODEDIR
}
/log
echo
Consider running:
tail
-n
1000
-F
${
BFANODEDIR
}
/log
fi
function
startbootnode
function
startbootnode
{
{
...
@@ -67,6 +62,10 @@ function startbootnode
...
@@ -67,6 +62,10 @@ function startbootnode
echo
"A bootnode is already running."
echo
"A bootnode is already running."
false
false
)
||
exit
)
||
exit
if
[
-t
1
]
then
echo
Starting bootnode.
fi
while
:
while
:
do
do
echo
echo
...
@@ -88,7 +87,10 @@ function startmonitor
...
@@ -88,7 +87,10 @@ function startmonitor
echo
"A monitor is already running."
echo
"A monitor is already running."
false
false
)
||
exit
)
||
exit
sleep
15
if
[
-t
1
]
then
echo
Running monitor every 60 seconds.
fi
while
:
while
:
do
do
monitor.sh &
monitor.sh &
...
@@ -109,6 +111,12 @@ function startgeth
...
@@ -109,6 +111,12 @@ function startgeth
false
false
)
||
exit
1
)
||
exit
1
echo
${
BASHPID
}
>
${
BFANODEDIR
}
/start-loop.pid
echo
${
BASHPID
}
>
${
BFANODEDIR
}
/start-loop.pid
if
[
-t
1
]
then
echo
Starting geth
echo
Logging everything to
${
BFANODEDIR
}
/log
echo
Consider running:
tail
-n
1000
-F
${
BFANODEDIR
}
/log
fi
while
:
while
:
do
do
echo
echo
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment