Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: log date of restart to stdout too
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed May 25, 2019
1 parent f5bf4e9 commit 43b89ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/blockexplorer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ while true; do
if [[ -z $api ]] || ! kill -0 "$api"; then
logfile="$cwd"/solana-blockexplorer-api.log
echo "Starting api process (logfile: $logfile)"
date >> "$logfile"
date | tee -a "$logfile"
npm run start-prod:api >> "$logfile" 2>&1 &
api=$!
echo " pid: $api"
Expand All @@ -63,7 +63,7 @@ while true; do
if [[ -z $ui ]] || ! kill -0 "$ui"; then
logfile="$cwd"/solana-blockexplorer-ui.log
echo "Starting ui process (logfile: $logfile)"
date >> "$logfile"
date | tee -a "$logfile"
npm run start-prod:ui >> "$logfile" 2>&1 &
ui=$!
echo " pid: $ui"
Expand Down

0 comments on commit 43b89ae

Please sign in to comment.