From 85d8234f15097fa6fba9ecd450016a93a9b6b57d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 28 Aug 2018 15:37:38 +0000 Subject: [PATCH] - Fix log rotation by using right signal to make i2pd reopen its logfile PR: 230714 Reported by: eugen --- security/i2pd/Makefile | 1 + security/i2pd/files/i2pd.newsyslog.conf.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile index 4ea7459d1cdb..6c1d8846df8a 100644 --- a/security/i2pd/Makefile +++ b/security/i2pd/Makefile @@ -3,6 +3,7 @@ PORTNAME= i2pd PORTVERSION= 2.20.0 +PORTREVISION= 1 CATEGORIES= security net-p2p MAINTAINER= amdmi3@FreeBSD.org diff --git a/security/i2pd/files/i2pd.newsyslog.conf.in b/security/i2pd/files/i2pd.newsyslog.conf.in index b2393a898e10..ac1280267e0a 100644 --- a/security/i2pd/files/i2pd.newsyslog.conf.in +++ b/security/i2pd/files/i2pd.newsyslog.conf.in @@ -1,2 +1,2 @@ # logfilename owner:group mode count size when flags pid_file sig_num -/var/log/i2pd/i2pd.log %%USER%%:%%GROUP%% 644 7 100 * J /var/run/i2pd/i2pd.pid 1 +/var/log/i2pd/i2pd.log %%USER%%:%%GROUP%% 644 7 100 * J /var/run/i2pd/i2pd.pid 30