Service as it is right now doesn't read configuration at all. Adding the following flags fixes that:
--conf=/var/lib/i2pd/i2pd.conf
and
--datadir=/var/lib/i2pd
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?
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.
Okay so the manual is lying but you can just set the datadir in the conf file right?
No, you can set the data directory only through the command line flag.
what a weird program. I just pushed a new i2pd-s6 with the two new arguments in the script. Thanks for reporting.