Fixed Startup Script

This commit is contained in:
2019-04-24 19:14:45 +02:00
parent abb216d495
commit bae8c87781

View File

@@ -3,7 +3,7 @@ while true; do
cd /opt/lactor
echo "Starting Lactor in `pwd` at `date`" >> /var/log/lactor/startstop.log
#echo "BDE restarted" | mail -s "BDE Restart" admin@apc910.finoba.by
python3 ./lactor.py `pwd` 2>&1 >> log_`date -Idate`.txt
python3 ./lactor.py 2>&1 >> log_`date -Idate`.txt
echo "Lactor stopped in `pwd` at `date`" >> /var/log/lactor/startstop.log
sleep 2
done