| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Linux Kernel 6.8
Ubuntu 24.04
Using podman or docker
podman build --tag erlang_builder -f build.Dockerfile ./build.sh
cat <<EOT > /etc/sysctl.conf #buff up the UDP stack for 1gbps net.core.wmem_max = 268435456 net.core.rmem_default = 212992 net.core.rmem_max = 268435456 net.core.netdev_max_backlog = 300000 net.core.optmem_max = 16777216 net.ipv4.udp_mem = 3060432 4080578 6120864 # for normal networks: block spoofed UDP packets net.ipv4.conf.all.rp_filter=1 net.ipv4.conf.default.rp_filter=1 EOT
cat <<EOT > /etc/systemd/system.conf [Manager] DefaultTasksMax=infinity DefaultLimitNOFILE=infinity DefaultLimitNPROC=infinity DefaultLimitMEMLOCK=infinity DefaultLimitLOCKS=infinity EOT cat <<EOT > /etc/systemd/user.conf [Manager] DefaultTasksMax=infinity DefaultLimitNOFILE=infinity DefaultLimitNPROC=infinity DefaultLimitMEMLOCK=infinity DefaultLimitLOCKS=infinity EOT cat <<EOT > /etc/systemd/system/amadeusd.service [Unit] Description=AmadeusD After=network-online.target [Service] Type=forking LimitNOFILE=1048576 KillMode=control-group Restart=always RestartSec=3 User=root WorkingDirectory=/root/ Environment="AUTOUPDATE=true" ExecStart=/usr/bin/screen -UdmS amadeusd bash -c './amadeusd' [Install] WantedBy=default.target EOT systemctl enable amadeusd systemctl start amadeusd screen -rd amadeusd
For non-root change:
WorkingDirectory=/home/youruser User=youruser
For computor autostart Environment="COMPUTOR=true" For computor autostart to be validator Environment="COMPUTOR=trainer"
| Back | FazBrowse Home | New Git URL |