- Add support for reload command for rc.d script
Submitted by: Eugene Grosbein
This commit is contained in:
parent
82e872f731
commit
cc9b16b63c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541111
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= i2pd
|
||||
PORTVERSION= 2.32.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security net-p2p
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user