MFH: r567271

- Fix signal used in reload command

PR:		253965
Submitted by:	admin@support.od.ua
This commit is contained in:
Dmitry Marakasov 2021-03-04 00:06:57 +00:00
parent 202975ee8d
commit 2d74867af8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=567272
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= i2pd
PORTVERSION= 2.33.0
PORTREVISION= 1
CATEGORIES= security net-p2p
MAINTAINER= amdmi3@FreeBSD.org

View File

@ -29,6 +29,6 @@ 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"
reload_cmd="pkill -2 -F ${i2pd_pidfile} -x i2pd"
run_rc_command "$1"