Commit Diff


commit - 46d0983c2a63cb6c7808356832e5ff168d6d9bbd
commit + 7e05e830228294b6b64ee78610a2e55d0a1973de
blob - 5f67749d6a81d9a18cfffdcdd7601fcaa1cbca29
blob + 54bb2002bac3ac74053b737ed650d64916b7aed0
--- relaunch.sh
+++ relaunch.sh
@@ -44,9 +44,9 @@ vmctl reload
 sleep 10
 
 mkfifo -m 600 /tmp/pipe_${1}
-install -g mischa -m 600 -o mischa /dev/null /home/mischa/${1}.log
+install -g mischa -m 600 -o mischa /dev/null ${LOGS}/${1}.log
 
-echo -n "autoinstall(8) ${1}, log output /home/mischa/${1}.log... "
+echo -n "autoinstall(8) ${1}, log output ${LOGS}/${1}.log... "
 
 vmctl start -c ${1} < /tmp/pipe_${1} | while read line; do
 	printf '%s\n' "$line" >&2
@@ -62,7 +62,7 @@ vmctl start -c ${1} < /tmp/pipe_${1} | while read line
 		#exit 1
 	#;;
 	esac
-done > /tmp/pipe_${1} 2> /home/mischa/${1}.log
+done > /tmp/pipe_${1} 2> ${LOGS}/${1}.log
 
 echo "completed"
 
@@ -80,7 +80,7 @@ vmctl start -c ${1} < /tmp/pipe_${1} | while read line
 		break
 	;;
 	esac
-done > /tmp/pipe_${1} 2>> /home/mischa/${1}.log
+done > /tmp/pipe_${1} 2>> ${LOGS}/${1}.log
 
 rm -rf /tmp/pipe_${1}