How to install

Docker Compose

Install (Upload the configuration file to /etc/hollow/config.toml)

bash <(curl -fsSL 'https://fastly.jsdelivr.net/gh/dler-io/Hollow@main/hollow.sh')

Install ( Upload the configuration file to private OSS or network drive)

bash <(curl -fsSL 'https://fastly.jsdelivr.net/gh/dler-io/Hollow@main/hollow.sh') http://oss.io/config.toml

Update (pull the latest image)

bash <(curl -fsSL 'https://fastly.jsdelivr.net/gh/dler-io/Hollow@main/hollow.sh') update

remove

bash <(curl -fsSL 'https://fastly.jsdelivr.net/gh/dler-io/Hollow@main/hollow.sh') remove

Executable file

Install (Upload the configuration file to /etc/hollow/config.toml)

mkdir /etc/hollow
curl --connect-timeout 10 -fsSL https://hollow.dler.io/hollow || curl -fsSL https://fastly.jsdelivr.net/gh/dler-io/Hollow@main/hollow -o /usr/bin/hollow
chmod +x /usr/bin/hollow

cat >/etc/systemd/journald.conf <<EOF
[Journal]
SystemMaxUse=384M
SystemMaxFileSize=128M
ForwardToSyslog=no
EOF

cat >/etc/systemd/system/hollow.service <<EOF
[Unit]
Description=hollow
After=network.target

[Service]
Type=simple
LimitCPU=infinity
LimitFSIZE=infinity
LimitDATA=infinity
LimitSTACK=infinity
LimitCORE=infinity
LimitRSS=infinity
LimitNOFILE=infinity
LimitAS=infinity
LimitNPROC=infinity
LimitMEMLOCK=infinity
LimitLOCKS=infinity
LimitSIGPENDING=infinity
LimitMSGQUEUE=infinity
LimitRTPRIO=infinity
LimitRTTIME=infinity
ExecStart=/usr/bin/hollow -f /etc/hollow/config.toml
Restart=always
RestartSec=4

[Install]
WantedBy=multi-user.target
EOF

systemctl daemon-reload

remove

Other

Optimize (recommend)

Last updated