base might have been updated, cd to latest version

This commit is contained in:
j 2014-08-09 16:07:57 +02:00
parent d5a57708d3
commit 679411abc5
1 changed files with 1 additions and 0 deletions

1
ctl
View File

@ -46,6 +46,7 @@ if [ "$1" == "start" ]; then
fi
if [ ! -d "$BASE/$NAME/.git" ]; then
python2 oml install_update
cd "$BASE/$NAME"
fi
python2 oml server $PID
rm -f $PID