git: c56f2a7ef8c8 - main - net/minidlna: rescan/rebuild support in rc script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Dec 2024 21:44:22 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/ports/commit/?id=c56f2a7ef8c8ce8d11277f12343fd2dee1358ec9 commit c56f2a7ef8c8ce8d11277f12343fd2dee1358ec9 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-12-29 21:42:09 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-12-29 21:42:09 +0000 net/minidlna: rescan/rebuild support in rc script Fix the rescan command to actually send rescan signal to minidlnad, instead of doing a rebuild. Add rebuild command. Submitted by: gerrit@weinberg2.de PR: 259953 --- net/minidlna/Makefile | 2 +- net/minidlna/files/minidlna.in | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 84312f3d116d..909617bd413b 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -1,6 +1,6 @@ PORTNAME= minidlna PORTVERSION= 1.3.3 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net multimedia www diff --git a/net/minidlna/files/minidlna.in b/net/minidlna/files/minidlna.in index 4329e9c00927..55e51d10ef36 100644 --- a/net/minidlna/files/minidlna.in +++ b/net/minidlna/files/minidlna.in @@ -25,7 +25,8 @@ command_args="-P $pidfile -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" start_precmd="install -d -o $minidlna_uid ${pidfile%/*} /var/db/minidlna" stop_postcmd="rm -f $pidfile" -extra_commands=rescan -rescan_cmd="$command -R -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" +extra_commands="rescan rebuild" +rescan_cmd="$command -r -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" +rebuild_cmd="$command -R -u $minidlna_uid -f %%PREFIX%%/etc/minidlna.conf" run_rc_command $1