Bash script for installing GeoDataUpdater in operating systems such as Arch / CentOS / Debian / OpenSUSE that support systemd.
Filesystem Hierarchy Standard (FHS)
Upstream URL: v2ray-rules-dat, sing-geosite, sing-geoip
installed: /etc/systemd/system/geodataupdater.service
installed: /etc/systemd/system/geodataupdater.timer
installed: /usr/local/bin/updategeodata.sh
installed: /opt/nekoray/geoip.dat
installed: /opt/nekoray/geoip.db
installed: /opt/nekoray/geosite.dat
installed: /opt/nekoray/geosite.db
bash
curl
Use sudo
if you are not root.
Install / Update GeoDataUpdater for NekoRay
bash -c "$(curl -L https://github.com/Glucy-2/GeoDataUpdater/raw/main/install.sh)" -- install [--proxy=$http_proxy]
Run GeoDataUpdater
updategeodata.sh [--proxy=$http_proxy]
Remove GeoDataUpdater
bash -c "$(curl -L https://github.com/Glucy-2/GeoDataUpdater/raw/main/install.sh)" -- remove