Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Nov 2024 12:51:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282646] net/syncthing-1.28 fails to start syncthing-discosrv
Message-ID:  <bug-282646-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282646

            Bug ID: 282646
           Summary: net/syncthing-1.28 fails to start syncthing-discosrv
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sgs@pichove.org

syncthing-discosrv fails to start with:
stdiscosrv: error: unknown flag -k, did you mean one of "-h", "-d", "-v"?

In net/syncthing/files/syncthing-discosrv.in in the current port

command_args is defined as:
command_args=3D"-p ${pidfile} ${procname} -key ${syncthingdiscosrv_key} -ce=
rt
${syncthingdiscosrv_cert} ${syncthingdiscosrv_args} >>
${syncthingdiscosrv_log_file}"

while the arguments should be:

command_args=3D"-p ${pidfile} ${procname} --key ${syncthingdiscosrv_key} --=
cert
${syncthingdiscosrv_cert} ${syncthingdiscosrv_args} >>
${syncthingdiscosrv_log_file}"

This also fixes the issue for me.

Kind regards

Simeon Simeonov

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282646-7788>