Date: Thu, 19 Sep 2024 20:46:33 GMT From: Kevin Bowling <kbowling@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fe0baf5b4e10 - main - multimedia/navidrome: fix rc flags Message-ID: <202409192046.48JKkXHp087358@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe0baf5b4e1037b48e8c64642d02130b5ef79441 commit fe0baf5b4e1037b48e8c64642d02130b5ef79441 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2024-09-19 20:14:12 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> CommitDate: 2024-09-19 20:46:19 +0000 multimedia/navidrome: fix rc flags navidrome_flags was getting inserted at the daemon postion, not the command position. PR: 281571 --- multimedia/navidrome/files/navidrome.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/multimedia/navidrome/files/navidrome.in b/multimedia/navidrome/files/navidrome.in index ba46be142c65..66f0134d049f 100644 --- a/multimedia/navidrome/files/navidrome.in +++ b/multimedia/navidrome/files/navidrome.in @@ -11,7 +11,7 @@ # Default: NO # %%PORTNAME%%_config (str): %%PORTNAME%% configuration file # Default: %%ETCDIR%%/config.toml -# %%PORTNAME%%_datafolder (str): %%PORTNAME%% Folder to store application data +# %%PORTNAME%%_datafolder (str): %%PORTNAME%% Folder to store application data # Default: %%NAVIDROMEUSER%% # %%PORTNAME%%_user (str): %%PORTNAME%% daemon user # Default: %%NAVIDROMEUSER%% @@ -39,11 +39,13 @@ procname="%%PREFIX%%/bin/${name}" pidfile="/var/run/${name}.pid" start_precmd="${name}_precmd" command=/usr/sbin/daemon -command_args="-S -l ${%%PORTNAME%%_facility} -s ${%%PORTNAME%%_priority} -T ${name} -t ${name} -p ${pidfile} \ - ${procname} --configfile ${%%PORTNAME%%_config} --datafolder ${%%PORTNAME%%_datafolder} ${%%PORTNAME%%_flags}" +command_args="--configfile ${%%PORTNAME%%_config} \ + --datafolder ${%%PORTNAME%%_datafolder} ${%%PORTNAME%%_flags}" %%PORTNAME%%_precmd() { + rc_flags="-S -l ${%%PORTNAME%%_facility} -s ${%%PORTNAME%%_priority} \ + -T ${name} -t ${name} -p ${pidfile} ${procname}" install -o ${%%PORTNAME%%_user} /dev/null ${pidfile} }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409192046.48JKkXHp087358>