From 3a6131c7f73637519d4e304bef17ccfd2c2b01a2 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Mon, 11 Nov 2024 18:49:02 +0000 Subject: [PATCH] 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 --- net/syncthing/files/syncthing-discosrv.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/syncthing/files/syncthing-discosrv.in b/net/syncthing/files/syncthing-discosrv.in index e98d21a94591..fb0d32006395 100644 --- a/net/syncthing/files/syncthing-discosrv.in +++ b/net/syncthing/files/syncthing-discosrv.in @@ -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