use git branches to track stable release

This commit is contained in:
j 2019-04-30 12:42:28 +02:00
commit 34936d25f0
3 changed files with 25 additions and 27 deletions

View file

@ -4,6 +4,7 @@ PANDORA=${PANDORA-pandora}
POSTGRES=${POSTGRES-local}
RABBITMQ=${RABBITMQ-local}
NGINX=${NGINX-local}
BRANCH=${BRANCH-stable}
echo Installing pandora with user: $PANDORA
getent passwd $PANDORA > /dev/null 2>&1 || adduser --disabled-password --gecos "" $PANDORA
@ -111,6 +112,7 @@ fi
#pandora
git clone https://git.0x2620.org/pandora.git /srv/pandora
cd /srv/pandora
git checkout $BRANCH
./ctl init
HOST=$(hostname -s)