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
test -n "${BFAACCOUNT}" ||
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
{
......@@ -67,6 +62,10 @@ function startbootnode
echo "A bootnode is already running."
false
) || exit
if [ -t 1 ]
then
echo Starting bootnode.
fi
while :
do
echo
......@@ -88,7 +87,10 @@ function startmonitor
echo "A monitor is already running."
false
) || exit
sleep 15
if [ -t 1 ]
then
echo Running monitor every 60 seconds.
fi
while :
do
monitor.sh &
......@@ -109,6 +111,12 @@ function startgeth
false
) || exit 1
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 :
do
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