From 0357d14fa48198b35c7bae4408a053cad56cba82 Mon Sep 17 00:00:00 2001 From: Manevolent Date: Tue, 21 Sep 2021 13:31:07 -0600 Subject: [PATCH] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 19bb802..fd1e836 100644 --- a/install.sh +++ b/install.sh @@ -34,12 +34,14 @@ chmod -R a+X /etc/tinc/ echo "Setting exclusive read access to SSH keys." chmod -v 400 /etc/lixonet/id_rsa chmod -v 400 /etc/lixonet/*/id_rsa +chmod -v 400 /etc/lixonet/known_hosts stat /etc/lixonet/id_rsa stat /etc/lixonet/*/id_rsa +stat /etc/lixonet/known_hosts echo "Enabling write access to /etc/lixonet/version." touch /etc/lixonet/version chmod 660 /etc/lixonet/version stat /etc/lixonet/version -docker build -t lixonet-ee . && docker run --restart always -d -e DOCKER_HOST=unix:///var/run/docker.sock -e GIT_URL=$ORIGIN -v /var/run/docker.sock:/var/run/docker.sock -v /etc/bird:/etc/bird/ -v /etc/tinc:/etc/tinc -v /etc/bind:/etc/bind -v /etc/lixonet:/etc/lixonet -v /etc/lixonet/known_hosts:/home/lixonet/.ssh/known_hosts -v /etc/lixonet/id_rsa:/home/lixonet/.ssh/id_rsa lixonet-ee \ No newline at end of file +docker build -t lixonet-ee . && docker run --restart always -d -e DOCKER_HOST=unix:///var/run/docker.sock -e GIT_URL=$ORIGIN -v /var/run/docker.sock:/var/run/docker.sock -v /etc/bird:/etc/bird/ -v /etc/tinc:/etc/tinc -v /etc/bind:/etc/bind -v /etc/lixonet:/etc/lixonet -v /etc/lixonet/known_hosts:/home/lixonet/.ssh/known_hosts -v /etc/lixonet/id_rsa:/home/lixonet/.ssh/id_rsa lixonet-ee