Skip to content
Snippets Groups Projects
Commit 263039f4 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Verbose service starts

parent 3b3f98a4
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment