I installed I2P on a Linux laptop. For the moment I’d prefer not to have I2P to start automatically as system service. The installation guide says that after installation I can simply run i2prouter start, which starts the service and opens the router console on my browser; I’ve configured the router.
Question 1: what’s the best way to shut down router and service, when I need to? The guide above says I can use the command i2prouter stop; but I also see buttons on the browser console and on the tray on the taskbar.
Question 2: I’ve also noticed that sometimes after i2prouter start I get asked again to configure the router. How do I make sure the configuration is saved once and for all?
Unfortunately I didn’t find anything about these specific points in guides or FAQs.
Thanks for helping!
I don’t have concrete advice, but know that the i2p router needs 10 minutes to shut down gracefully. you can force it, but I think that will interrupt the connection of others, so if you don’t want to experience it then best to not do it
Thank you for the information and advice. I’ll set aside 15 min for shutting it down gracefully then.
oh and one more thing. if you run it in docker, it won’t receive the system shutdown signal. on your setup you probably don’t have this problem, buy you can check on the web interface if it is shutting down
Thanks for the additional tip! Not using docker at the moment, but I’ll keep this in mind if I do :)
Also forcing a shutdown can cause some of the configs to get corrupted.
Question 1:
i2prouter gracefulis the correct command, but it takes 11 mins to shut down.The browser button does the same thing as the terminal. It can do both
gracefulandstop, which is immediate.Question 2: Sounds like a bug, where is your config file located? Maybe it has the wrong permissions on it?
Thank you for the reply and explanations! Now I understand. I’ll also use
i2prouter gracefulthen.Regarding the config, I’ll investigate. It occurs only from time to time, but it may have happened because I was shutting the router down the wrong way.
Thanks again!
@pglpm Question 1:
It makes no difference, the GUI is just a wrapper for the CLI command. I prefer ‘i2prouter graceful’: It takes longer but you don’t stop other peoples tunnels.Thank you, this is exactly what was unclear to me. I also prefer to shut it down from the command line. I’ll use the
gracefulcommand as well!




