Date: Wed, 18 Sep 2024 14:20:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281571] multimedia/navidrome pkg-message incorrect Message-ID: <bug-281571-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281571 Bug ID: 281571 Summary: multimedia/navidrome pkg-message incorrect Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kbowling@freebsd.org Reporter: andrew@aklaus.ca Flags: maintainer-feedback?(kbowling@freebsd.org) Assignee: kbowling@freebsd.org After installing navidrome-0.52.5_4 on FreeBSD 14.1-RELEASE-p3, the followi= ng message was returned after install to configure it through rc.conf: ---- Navidrome will listen on port 4533 and bind to 127.0.0.1.=20=20 This can be changed in the configuration file above or by passing extra fla= gs=20 using "navidrome_flags" in /etc/rc.conf. navidrome_flags=3D"--address 0.0.0.0 --port 80" ---- I configured my rc.conf like so: ---- navidrome_flags=3D"--address 127.0.0.1 --port 4533" ---- And after starting, I was receiving the following error: ---- /usr/local/etc/rc.d/navidrome start Starting navidrome. daemon: unrecognized option `--address' usage: daemon [-cfHrS] [-p child_pidfile] [-P supervisor_pidfile] [-u user] [-o output_file] [-t title] [-l syslog_facility] [-s syslog_priority] [-T syslog_tag] [-m output_mask] [-R restart_delay_secs] ---- When I looked into it, the FreeBSD rc scripting page (https://docs.freebsd.org/en/articles/rc-scripting/) says to never include dashed options within command_args: ---- Never include dashed options, like -X or --foo, in command_args. The conten= ts of command_args will appear at the end of the final command line, hence they are likely to follow arguments present in ${name}_flags; but most commands = will not recognize dashed options after ordinary arguments. A better way of pass= ing additional options to $command is to add them to the beginning of ${name}_flags. Another way is to modify rc_flags as shown later. ---- Thanks! --=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-281571-7788>