dispvm: append to prerun logs instead of overriding them

This commit is contained in:
Marek Marczykowski 2012-01-15 04:41:51 +01:00
parent ac08d20088
commit 30301440c4

View File

@ -6,7 +6,7 @@ cat /etc/dispvm-dotfiles.tbz | tar -xjf- --overwrite -C /home/user --owner user
for app in $apps ; do for app in $apps ; do
echo "Launching: $app..." echo "Launching: $app..."
$app >/tmp/dispvm_prerun_errors.log 2>&1 & $app >>/tmp/dispvm_prerun_errors.log 2>&1 &
done done
echo "Sleeping..." echo "Sleeping..."
@ -14,6 +14,6 @@ sleep 60
ps ax > /tmp/dispvm-prerun-proclist.log ps ax > /tmp/dispvm-prerun-proclist.log
cat /etc/dispvm-dotfiles.tbz | tar -xjf- --overwrite -C /home/user --owner user 2>&1 >/tmp/dispvm-dotfiles-errors.log cat /etc/dispvm-dotfiles.tbz | tar -xjf- --overwrite -C /home/user --owner user 2>&1 >>/tmp/dispvm-dotfiles-errors.log
echo done. echo done.