From c9e23017bcbc2a35712c3e6739ff27176d51c3c6 Mon Sep 17 00:00:00 2001 From: barracuda156 Date: Fri, 11 Nov 2022 07:48:10 +0800 Subject: [PATCH] i2pd.conf: adjust for MacPorts --- contrib/i2pd.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git contrib/i2pd.conf contrib/i2pd.conf index d0a9e141..06be503e 100644 --- contrib/i2pd.conf 2023-06-12 09:33:21.000000000 -0400 +++ contrib/i2pd.conf 2023-06-12 14:03:00.000000000 -0400 @@ -8,19 +8,19 @@ ## Tunnels config file ## Default: ~/.i2pd/tunnels.conf or /var/lib/i2pd/tunnels.conf -# tunconf = /var/lib/i2pd/tunnels.conf +tunconf = @I2PDDIR@/tunnels.conf ## 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 -# tunnelsdir = /var/lib/i2pd/tunnels.d +tunnelsdir = @I2PDDIR@/tunnels.d ## Path to certificates used for verifying .su3, families ## Default: ~/.i2pd/certificates or /var/lib/i2pd/certificates -# certsdir = /var/lib/i2pd/certificates +certsdir = @I2PDDIR@/certificates ## Where to write pidfile (default: /run/i2pd.pid, not used in Windows) -# pidfile = /run/i2pd.pid +pidfile = @PREFIX@/var/run/i2pd/i2pd.pid ## Logging configuration section ## By default logs go to stdout with level 'info' and higher diff --git contrib/i2pd.logrotate contrib/i2pd.logrotate index d0ca70ad..26ca3407 100644 --- contrib/i2pd.logrotate +++ contrib/i2pd.logrotate @@ -1,4 +1,4 @@ -"/var/log/i2pd/*.log" { +"@PREFIX@/var/log/i2pd/*.log" { copytruncate daily rotate 5