Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] i2pd-s6 (Read 468 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] i2pd-s6

Service as it is right now doesn't read configuration at all. Adding the following flags fixes that:
Code: [Select]
--conf=/var/lib/i2pd/i2pd.conf
and
Code: [Select]
--datadir=/var/lib/i2pd

Re: i2pd-s6

Reply #1
Haven't set aside the time to double check this yet but according to the manual, i2pd is supposed to default to /var/lib/i2pd/i2pd.conf for reading conf files. Is it lying? Also, I don't see why the datadir argument would be needed if you just are trying to grab the path to the config file?

Re: i2pd-s6

Reply #2
It doesn't even try to read the any configuration file w/o the first flag and w/o the second flag it sets the data directory to /tmp/i2pd, which not only breaks persistence, but also prevents it from reading the tunnel configuration.

Re: i2pd-s6

Reply #3
Okay so the manual is lying but you can just set the datadir in the conf file right?

Re: i2pd-s6

Reply #4
No, you can set the data directory only through the command line flag.

Re: i2pd-s6

Reply #5
what a weird program. I just pushed a new i2pd-s6 with the two new arguments in the script. Thanks for reporting.