diff options
author | degroote <degroote@pkgsrc.org> | 2015-01-15 20:53:18 +0000 |
---|---|---|
committer | degroote <degroote@pkgsrc.org> | 2015-01-15 20:53:18 +0000 |
commit | 35c10edf03e69ad9ef68ee01f9925f6b1b1a56ef (patch) | |
tree | eeb51dc4a185458dd9ddc578352a5c55bb80ef19 /multimedia | |
parent | 66a8a00b2af361ffdcb1cee7228b725d7e6a614e (diff) | |
download | pkgsrc-35c10edf03e69ad9ef68ee01f9925f6b1b1a56ef.tar.gz |
Improve minidlna rc files
In particular, it fixes the non-working stop target
Reported by J. Baker
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/minidlna/Makefile | 3 | ||||
-rw-r--r-- | multimedia/minidlna/files/minidlna.sh | 13 |
2 files changed, 6 insertions, 10 deletions
diff --git a/multimedia/minidlna/Makefile b/multimedia/minidlna/Makefile index 8902461a607..ea3ea3045e3 100644 --- a/multimedia/minidlna/Makefile +++ b/multimedia/minidlna/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2015/01/14 21:32:20 degroote Exp $ +# $NetBSD: Makefile,v 1.11 2015/01/15 20:53:18 degroote Exp $ DISTNAME= minidlna-1.1.4 +PKGREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=minidlna/} diff --git a/multimedia/minidlna/files/minidlna.sh b/multimedia/minidlna/files/minidlna.sh index 0f267ec8e21..ef421b505da 100644 --- a/multimedia/minidlna/files/minidlna.sh +++ b/multimedia/minidlna/files/minidlna.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: minidlna.sh,v 1.2 2015/01/14 21:32:20 degroote Exp $ +# $NetBSD: minidlna.sh,v 1.3 2015/01/15 20:53:18 degroote Exp $ # # PROVIDE: minidlna # REQUIRE: DAEMON @@ -9,15 +9,10 @@ . /etc/rc.subr name="minidlna" -rcvar=${name} -start_cmd="start_minidlna" -required_files="@PKG_SYSCONFDIR@/${name}.conf" +required_files="@PKG_SYSCONFDIR@/minidlna.conf" pidfile="/var/run/minidlna/minidlna.pid" - -start_minidlna() -{ - @PREFIX@/sbin/minidlnad -f ${required_files} -} +command="@PREFIX@/sbin/minidlnad" +command_args=" -f ${required_files}" load_rc_config ${name} run_rc_command "$1" |