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
ctl
View file

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