1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
thalos/scripts/start.sh

12 lines
233 B
Bash

#!/bin/bash
BIN=bin/eosio-ship-trace-reader
DIR=$(dirname $(realpath $0))
cd "$DIR"
date
./stop.sh
timestamp=`date +%s`
$BIN -p ./eosio-ship-trace-reader.pid 2> logs/$timestamp.log &
rm -f out.log
ln -s logs/$timestamp.log out.log