summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/i2pd/Makefile1
-rw-r--r--security/i2pd/files/i2pd.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile
index 5d9fcc45562b..ae0cd6ca9702 100644
--- a/security/i2pd/Makefile
+++ b/security/i2pd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= i2pd
PORTVERSION= 2.32.1
+PORTREVISION= 1
CATEGORIES= security net-p2p
MAINTAINER= amdmi3@FreeBSD.org
diff --git a/security/i2pd/files/i2pd.in b/security/i2pd/files/i2pd.in
index 6b88777c0d12..0ba1601e73f8 100644
--- a/security/i2pd/files/i2pd.in
+++ b/security/i2pd/files/i2pd.in
@@ -28,5 +28,7 @@ required_dirs=${i2pd_datadir}
pidfile=${i2pd_pidfile}
command="%%PREFIX%%/bin/${name}"
command_args="--pidfile ${i2pd_pidfile} --service --datadir ${i2pd_datadir} --log file --logfile ${i2pd_logfile} --daemon"
+extra_commands="reload"
+reload_cmd="pkill -1 -F ${i2pd_pidfile} -x i2pd"
run_rc_command "$1"