Skip to content

set geoip.dat file location #920

Answered by haruue
vitalyjune asked this question in Q&A
Discussion options

You must be logged in to vote

The geoip.dat is automatically downloaded to the working directory. Change the working directory by cd before running the hysteria command to change where it was downloaded.

For an example, suppose you run hysteria like this

cd /etc/hysteria
/path/to/hysteria server -c config.yaml

This will download the geoip.dat as /etc/hysteria/geoip.dat.

If you are writing a systemd unit, take a look at our AUR package and man:systemd-exec(5).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vitalyjune
Comment options

Answer selected by vitalyjune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants