diff --git a/docker/services.opt/wireguard b/docker/services.opt/wireguard index eb6823d..3e9651c 100644 --- a/docker/services.opt/wireguard +++ b/docker/services.opt/wireguard @@ -9,8 +9,8 @@ - TZ=${TZ:-GMT} - SERVERPORT=${wg_port:-51820} - ALLOWEDIPS=${network_address}/${global_prefix:-16} - - PUID=431 - - PGID=431 + - PUID=431 + - PGID=431 cap_add: - NET_ADMIN - SYS_MODULE diff --git a/install.sh b/install.sh index d4fb993..0e9b368 100644 --- a/install.sh +++ b/install.sh @@ -49,5 +49,9 @@ touch /etc/lixonet/version chmod 660 /etc/lixonet/version stat /etc/lixonet/version +if [ "$1" == "force" ]; then + echo 0 > /etc/lixonet/version +fi + docker rm -f 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 --name lixonet-ee lixonet-ee