moving things around
This commit is contained in:
@@ -33,14 +33,16 @@ cp receiver /home/git/receiver
|
|||||||
cp deploystep /home/git/deploystep
|
cp deploystep /home/git/deploystep
|
||||||
cp nginx-app-conf /home/git/nginx-app-conf
|
cp nginx-app-conf /home/git/nginx-app-conf
|
||||||
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
cp nginx-reloader.conf /etc/init/nginx-reloader.conf
|
||||||
|
|
||||||
stop nginx-reloader
|
stop nginx-reloader
|
||||||
start nginx-reloader
|
start nginx-reloader
|
||||||
echo $HOSTNAME > /home/git/DOMAIN
|
|
||||||
|
|
||||||
# configure and start nginx
|
# configure and start nginx
|
||||||
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
||||||
/etc/init.d/nginx start
|
/etc/init.d/nginx start
|
||||||
|
|
||||||
|
echo $HOSTNAME > /home/git/DOMAIN
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Be sure to upload a public key for your user:"
|
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\""
|
||||||
Reference in New Issue
Block a user