From dc66ec9903bcece9b81549ecfa13155e3c9297a4 Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Sun, 9 Jun 2013 20:46:33 -0700 Subject: [PATCH] moving things around --- bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 2ff47be0f..b22148ce0 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -33,14 +33,16 @@ cp receiver /home/git/receiver cp deploystep /home/git/deploystep cp nginx-app-conf /home/git/nginx-app-conf cp nginx-reloader.conf /etc/init/nginx-reloader.conf + stop nginx-reloader start nginx-reloader -echo $HOSTNAME > /home/git/DOMAIN # configure and start nginx echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf /etc/init.d/nginx start +echo $HOSTNAME > /home/git/DOMAIN + 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\"" \ No newline at end of file