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

scripts/start.sh: Application already logs, so just redirect stdout to out.log

This commit is contained in:
Henrik Hautakoski 2023-05-13 13:37:33 +02:00
parent 2beb65b2df
commit a35277a38b

View file

@ -7,6 +7,4 @@ cd "$DIR"
date
./stop.sh
timestamp=`date +%s`
$BIN -p ./thalos.pid 2> logs/$timestamp.log &
rm -f out.log
ln -s logs/$timestamp.log out.log
$BIN -p ./thalos.pid 2> out.log &