2020-05-26 15:54:10 +02:00
|
|
|
diff -uNr i2pd-2.32.0.orig/contrib/i2pd.conf i2pd-2.32.0/contrib/i2pd.conf
|
|
|
|
--- i2pd-2.32.0.orig/contrib/i2pd.conf 2020-05-25 16:45:46.000000000 +0300
|
|
|
|
+++ i2pd-2.32.0/contrib/i2pd.conf 2020-05-26 16:49:03.680783024 +0300
|
2020-05-08 00:09:37 +02:00
|
|
|
@@ -7,16 +7,16 @@
|
|
|
|
## by removing the "#" symbol.
|
|
|
|
|
|
|
|
## Tunnels config file
|
|
|
|
-## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf
|
|
|
|
-# tunconf = /var/lib/i2pd/tunnels.conf
|
2020-05-26 15:54:10 +02:00
|
|
|
+## Default: ~/.i2pd/tunnels.conf or @TERMUX_PREFIX@/var/lib/i2pd/tunnels.conf
|
|
|
|
+tunconf = @TERMUX_PREFIX@/var/lib/i2pd/tunnels.conf
|
2020-05-08 00:09:37 +02:00
|
|
|
|
|
|
|
## Tunnels config files path
|
|
|
|
## Use that path to store separated tunnels in different config files.
|
|
|
|
-## Default: ~/.i2pd/tunnels.d or /var/lib/i2pd/tunnels.d
|
2020-05-26 15:54:10 +02:00
|
|
|
-# tunnelsdir = /var/lib/i2pd/tunnels.d
|
2020-05-08 00:09:37 +02:00
|
|
|
+## Default: ~/.i2pd/tunnels.d or @TERMUX_PREFIX@/etc/i2pd/tunnels.d
|
2020-05-26 15:54:10 +02:00
|
|
|
+# tunnelsdir = @TERMUX_PREFIX@/etc/i2pd/tunnels.d
|
2020-05-08 00:09:37 +02:00
|
|
|
|
2020-05-26 15:54:10 +02:00
|
|
|
## Where to write pidfile (default: i2pd.pid, not used in Windows)
|
|
|
|
-# pidfile = /run/i2pd.pid
|
2020-05-08 00:09:37 +02:00
|
|
|
+# pidfile = @TERMUX_PREFIX@/var/run/i2pd.pid
|
|
|
|
|
|
|
|
## Logging configuration section
|
|
|
|
## By default logs go to stdout with level 'info' and higher
|
|
|
|
@@ -27,7 +27,7 @@
|
|
|
|
## * syslog - use syslog, see man 3 syslog
|
|
|
|
# log = file
|
|
|
|
## Path to logfile (default - autodetect)
|
2020-05-26 15:54:10 +02:00
|
|
|
-# logfile = /var/log/i2pd/i2pd.log
|
2020-05-08 00:09:37 +02:00
|
|
|
+# logfile = @TERMUX_PREFIX@/var/log/i2pd.log
|
2020-05-26 15:54:10 +02:00
|
|
|
## Log messages above this level (debug, info, *warn, error, none)
|
2020-05-08 00:09:37 +02:00
|
|
|
## If you set it to none, logging will be disabled
|
2020-05-26 15:54:10 +02:00
|
|
|
# loglevel = warn
|
2020-05-08 00:09:37 +02:00
|
|
|
@@ -69,7 +69,7 @@
|
|
|
|
# ssu = true
|
|
|
|
|
|
|
|
## Should we assume we are behind NAT? (false only in MeshNet)
|
|
|
|
-# nat = true
|
|
|
|
+nat = true
|
|
|
|
|
|
|
|
## Bandwidth configuration
|
|
|
|
## L limit bandwidth to 32KBs/sec, O - to 256KBs/sec, P - to 2048KBs/sec,
|