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!

all 9 comments

sorted by: hot top controversial new old
[–] 6 points 3 months ago (2 children)

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

  • source
  • hideshow 4 child comments
  • [–] [S] 5 points 3 months ago (1 child)

    Thank you for the information and advice. I'll set aside 15 min for shutting it down gracefully then.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months ago (1 child)

    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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months ago (1 child)

    Question 1: i2prouter graceful is 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 graceful and stop, which is immediate.

    Question 2: Sounds like a bug, where is your config file located? Maybe it has the wrong permissions on it?

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 3 months ago

    Thank you for the reply and explanations! Now I understand. I'll also use i2prouter graceful then.

    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!

  • source
  • parent
  • [–] 1 point 3 months ago (1 child)

    @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.

  • source
  • hideshow 2 child comments