better ordering

This commit is contained in:
Jeff Lindsay
2013-06-11 20:40:59 -07:00
parent 873a4aa4a6
commit d41de9b9a4

View File

@@ -8,13 +8,13 @@ cd ~ && git clone ${DOKKU_REPO}
cd dokku && make install
cd buildstep && make build
start nginx-reloader
/etc/init.d/nginx start
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
/etc/init.d/nginx start
start nginx-reloader
[[ $(dig +short $HOSTNAME) ]] && HOSTFILE=DOMAIN || HOSTFILE=HOSTNAME
echo $HOSTNAME > /home/git/$HOSTFILE
echo
echo "Be sure to upload a public key for your user:"
echo " cat ~/.ssh/id_rsa.pub | ssh root@$HOSTNAME \"gitreceive upload-key progrium\""
echo " cat ~/.ssh/id_rsa.pub | ssh root@$HOSTNAME \"gitreceive upload-key progrium\""