Update install.sh
This commit is contained in:
parent
c0b7e592e4
commit
0357d14fa4
@ -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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user