set geoip.dat file location #920
Answered
by
haruue
vitalyjune
asked this question in
Q&A
-
When I start server as root it creates file in root directory: /geoip.dat |
Beta Was this translation helpful? Give feedback.
Answered by
haruue
Jan 27, 2024
Replies: 1 comment 1 reply
-
The geoip.dat is automatically downloaded to the working directory. Change the working directory by For an example, suppose you run hysteria like this
This will download the geoip.dat as If you are writing a systemd unit, take a look at our AUR package and |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vitalyjune
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The geoip.dat is automatically downloaded to the working directory. Change the working directory by
cd
before running thehysteria
command to change where it was downloaded.For an example, suppose you run hysteria like this
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)
.