![Fabrice Fontaine](/assets/img/avatar_default.png)
i2pd (I2P Daemon) is a full-featured C++ implementation of I2P client. I2P (Invisible Internet Protocol) is a universal anonymous network layer. All communications over I2P are anonymous and end-to-end encrypted, participants don't reveal their real IP addresses. http://i2pd.website Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: - Add third patch to not install the license file in /usr/LICENSE and the source code in /usr/src instead of using a post-install-target hook to remove /usr/LICENSE and /usr/src. Indeed, we're not sure if /usr/src contains only stuff installed by this package. - Clarify the comment that explains why -DTHREADS_PTHREAD_ARG=OFF is passed, especially because it's only needed for older versions of CMake, and causes a warning with newer versions of CMake. - Propagate architecture dependencies to the Config.in comment about the exception_ptr requirement.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
786 B
Desktop File
30 lines
786 B
Desktop File
[Unit]
|
|
Description=I2P Router written in C++
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=i2pd
|
|
Group=i2pd
|
|
RuntimeDirectory=i2pd
|
|
RuntimeDirectoryMode=0700
|
|
LogsDirectory=i2pd
|
|
LogsDirectoryMode=0700
|
|
Type=simple
|
|
ExecStart=/usr/bin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --pidfile=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
PIDFile=/run/i2pd/i2pd.pid
|
|
### Uncomment, if auto restart needed
|
|
#Restart=on-failure
|
|
|
|
### Use SIGINT for graceful stop daemon.
|
|
# i2pd stops accepting new tunnels and waits ~10 min while old ones do not die.
|
|
KillSignal=SIGINT
|
|
TimeoutStopSec=10m
|
|
|
|
# If you have problems with hanging i2pd, you can try enable this
|
|
#LimitNOFILE=4096
|
|
PrivateDevices=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|