diff --git a/docker-configs/docker-compose_install.sh b/docker-configs/docker-compose_install.sh index b3ab8c1..923ecc3 100644 --- a/docker-configs/docker-compose_install.sh +++ b/docker-configs/docker-compose_install.sh @@ -34,7 +34,6 @@ chmod -R 755 /etc/ADN-Systems && echo make json directory... mkdir -p /etc/ADN-Systems/data && -chown 54000:54000 /etc/ADN-Systems/data && echo Install /etc/ADN-Systems/adn.cfg ... cat << EOF > /etc/ADN-Systems/adn.cfg @@ -199,8 +198,6 @@ OVERRIDE_IDENT_TG: EOF # -chown -R 54000 /etc/ADN-Systems && - echo Get docker-compose.yml... cd /etc/ADN-Systems && curl https://raw.githubusercontent.com/Amateur-Digital-Network/ADN-DMR-Peer-Server/develop/docker-configs/docker-compose.yml -o docker-compose.yml && @@ -210,21 +207,6 @@ if grep -q "Raspberry Pi" /proc/device-tree/model 2>/dev/null; then sed -i "s/^mem_reservation/#mem_reservation/g" /etc/ADN-Systems/docker-compose.yml fi -chmod 755 /etc/cron.daily/lastheard - -echo Tune network stack... -cat << EOF > /etc/sysctl.conf && -net.core.rmem_default=134217728 -net.core.rmem_max=134217728 -net.core.wmem_max=134217728 -net.core.rmem_default=134217728 -net.core.netdev_max_backlog=250000 -net.netfilter.nf_conntrack_udp_timeout=15 -net.netfilter.nf_conntrack_udp_timeout_stream=35 -EOF - -/usr/sbin/sysctl -p && - echo Run ADN-Systems container... docker-compose up -d diff --git a/docker-configs/docker-compose_install2.sh b/docker-configs/docker-compose_install2.sh index e2b20d8..b9790f2 100644 --- a/docker-configs/docker-compose_install2.sh +++ b/docker-configs/docker-compose_install2.sh @@ -35,7 +35,6 @@ chmod -R 755 /etc/ADN-Systems && echo make json directory... mkdir -p /etc/ADN-Systems/data && -chown 54000:54000 /etc/ADN-Systems/data && echo Install /etc/ADN-Systems/adn.cfg ... cat << EOF > /etc/ADN-Systems/adn.cfg @@ -201,7 +200,6 @@ OVERRIDE_IDENT_TG: EOF # echo Set perms on config directory... -chown -R 54000 /etc/ADN-Systems && echo Get docker-compose.yml... cd /etc/ADN-Systems && @@ -212,21 +210,6 @@ if grep -q "Raspberry Pi" /proc/device-tree/model 2>/dev/null; then sed -i "s/^mem_reservation/#mem_reservation/g" /etc/ADN-Systems/docker-compose.yml fi -chmod 755 /etc/cron.daily/lastheard - -echo Tune network stack... -cat << EOF > /etc/sysctl.conf && -net.core.rmem_default=134217728 -net.core.rmem_max=134217728 -net.core.wmem_max=134217728 -net.core.rmem_default=134217728 -net.core.netdev_max_backlog=250000 -net.netfilter.nf_conntrack_udp_timeout=15 -net.netfilter.nf_conntrack_udp_timeout_stream=35 -EOF - -/usr/sbin/sysctl -p && - echo Run ADN-Systems container... docker-compose up -d