net/chrony: fix regression, remove pidfile= from rc.d script

chrony handles its own pidfile, and still our status method works,
so avoid missing chrony's own lock management.

PR:		245399
Reported by:	Peter Putzer
This commit is contained in:
Matthias Andree 2020-04-06 16:27:48 +00:00
parent 96082bb32e
commit 8461e9386a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=530887
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= chrony
PORTVERSION= 3.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://download.tuxfamily.org/chrony/

View File

@ -28,8 +28,7 @@ load_rc_config ${name}
: ${chronyd_config:="%%PREFIX%%/etc/chrony.conf"}
command=%%PREFIX%%/sbin/${name}
command_args="-f ${chronyd_config}"
pidfile=/var/run/chrony/${name}.pid
required_files=${chronyd_config}
command_args="-f \"${chronyd_config}\""
required_files="${chronyd_config}"
run_rc_command "$1"