Commit 897b292b authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

start/restart scripts for vbox. again

parent 16c6da74
echo "KILLING"
pgrep ibrowser.py | xargs kill
pgrep -f ibrowser.py | xargs kill
echo "CALLING"
RFOLDER=/home/ibrowser/introgressionbrowser
$RFOLDER/ibrowser.py $RFOLDER/data &
......
......@@ -6,9 +6,9 @@ SNAME=DATA
NID=1000
echo "SLEEPING"
echo "SLEEPING" >> $LOG
sleep 20
echo "AWAKEN"
echo "AWAKEN" >> $LOG
date >> $LOG
......@@ -20,11 +20,11 @@ sudo mount -t vboxsf $SNAME $MPATH >> $LOG
#sudo mount -t vboxsf -o uid=$NID,gid=$NID $SNAME $MPATH >> $LOG
if [[ ! -f "$MPATH/config.py" ]]; then
echo "CONFIG FILE NOT FOUND. CHECK IF SHARED FOLDER HAS BEEN MOUNTED"
echo "CONFIG FILE NOT FOUND. CHECK IF SHARED FOLDER HAS BEEN MOUNTED" >> $LOG
exit 1
fi
echo "RUNNING"
$HPATH/restart.sh
echo "RUN"
echo "RUNNING" >> $LOG
$HPATH/restart.sh >> $LOG
echo "RUN" >> $LOG
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment