1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

net/syncthing: Adjust parameters to syncthing-discosrv

The rc.d/syncthing-discosrv script was using -key and -cert
The correct parameters are --key and --cert

PR:		282646
This commit is contained in:
Dan Langille 2024-11-11 18:49:02 +00:00
parent 59125bd9e2
commit 3a6131c7f7

View File

@ -44,7 +44,7 @@ export STNORESTART=true
pidfile=/var/run/syncthingdiscosrv.pid
procname="%%PREFIX%%/bin/stdiscosrv"
command="/usr/sbin/daemon"
command_args="-p ${pidfile} ${procname} -key ${syncthingdiscosrv_key} -cert ${syncthingdiscosrv_cert} ${syncthingdiscosrv_args} >> ${syncthingdiscosrv_log_file}"
command_args="-p ${pidfile} ${procname} --key ${syncthingdiscosrv_key} --cert ${syncthingdiscosrv_cert} ${syncthingdiscosrv_args} >> ${syncthingdiscosrv_log_file}"
syncthingdiscosrv_chdir=${syncthingdiscosrv_dir}
start_precmd=syncthingdiscosrv_startprecmd