Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.22 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.22 KB

GeoDataUpdater

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

Prerequest

bash
curl

Usage

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