How do I run I2P as a service in Linux?

I2P router issues
Post Reply
greenpea
Posts: 3
Joined: 15 Jul 2018 08:32

How do I run I2P as a service in Linux?

Post by greenpea »

Typical newbie question: how do I configure I2P as a servive in Linux Mint 18.3 (Ubuntu-based)?
echelon
Posts: 261
Joined: 10 Feb 2018 13:36

Re: How do I run I2P as a service in Linux?

Post by echelon »

Hi

the debian package is already prepared for running as a service.
Just install it and run "service i2p start" - and i2p runs as a service.
If you want to set it to autostart, use the default setup of your system to run services at startup.

echelon
kryptokat
Posts: 2
Joined: 14 Jul 2018 20:08

Re: How do I run I2P as a service in Linux?

Post by kryptokat »

This works for Debian 8 and you can alocate an amount of RAM up to 128k for it.

sudo dpkg-reconfigure i2p

User as i2psvc to start stop status

sudo systemctl start i2p
sudo systemctl stop i2p
sudo systemctl status i2p
greenpea
Posts: 3
Joined: 15 Jul 2018 08:32

Re: How do I run I2P as a service in Linux?

Post by greenpea »

Thanks! Who'd have thought it would be that easy? :)
greenpea
Posts: 3
Joined: 15 Jul 2018 08:32

Re: How do I run I2P as a service in Linux?

Post by greenpea »

By the way, I ended up running

Code: Select all

sudo dpkg-reconfigure -plow i2p
at a command prompt so I2P would always start and run as a daemon at boot-up time so I don't have to manually start it. Plus I2P is always on as long as my computer's running which should help the network. :)
Post Reply