LOGS variable in _deploy.conf
This commit is contained in:
parent
4f9667fc0a
commit
ba89b97e7d
|
@ -54,9 +54,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 ${1}, log output /home/mischa/${1}.log... "
|
||||
echo -n "autoinstall ${1}, log output ${LOGS}/${1}.log... "
|
||||
|
||||
vmctl start -c ${1} < /tmp/pipe_${1} | while read line; do
|
||||
printf '%s\n' "$line" >&2
|
||||
|
@ -72,7 +72,7 @@ vmctl start -c ${1} < /tmp/pipe_${1} | while read line; do
|
|||
#exit 1
|
||||
#;;
|
||||
esac
|
||||
done > /tmp/pipe_${1} 2> /home/mischa/${1}.log
|
||||
done > /tmp/pipe_${1} 2> ${LOGS}/${1}.log
|
||||
|
||||
echo "completed"
|
||||
|
||||
|
@ -90,7 +90,7 @@ vmctl start -c ${1} < /tmp/pipe_${1} | while read line; do
|
|||
break
|
||||
;;
|
||||
esac
|
||||
done > /tmp/pipe_${1} 2>> /home/mischa/${1}.log
|
||||
done > /tmp/pipe_${1} 2>> ${LOGS}/${1}.log
|
||||
|
||||
rm -rf /tmp/pipe_${1}
|
||||
|
||||
|
|
Loading…
Reference in New Issue