Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2006 15:18:06 -0700
From:      Alexander Botero-Lowry <alex@foxybanana.com>
To:        freebsd-ports-bugs@FreeBSD.org, edwin@FreeBSD.org, alex@foxybanana.com
Subject:   Re: ports/95190: [PATCH] audio/mt-daapd: update to 0.2.4
Message-ID:  <200604152218.k3FMI7L1054879@Laptop.mine.box>
In-Reply-To: <200604010744.k317iBNG017777@freefall.freebsd.org>
References:  <200604010744.k317iBNG017777@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--=_4441711e.ktjnMKlWhDcCHG8TuE8UfHuIBwBSD9FhcviFX0jQvrBUBHi5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Attached is the correct rc.subr script for this.

Alex

Edwin Groothuis <edwin@FreeBSD.org> wrote:

> Synopsis: [PATCH] audio/mt-daapd: update to 0.2.4
>
> State-Changed-From-To: open->feedback
> State-Changed-By: edwin
> State-Changed-When: Sat Apr 1 07:44:10 UTC 2006
> State-Changed-Why: 
> Awaiting maintainers feedback
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=95190
>
> !DSPAM:4,442e2f4c220993316355149!
>

--=_4441711e.ktjnMKlWhDcCHG8TuE8UfHuIBwBSD9FhcviFX0jQvrBUBHi5
Content-Type: text/plain;
 charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="mt-daapd.sh.in"

#!/bin/sh
# PROVIDE: mt-daapd
# REQUIRE: LOGIN
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# mt_daapd_enable (bool):   Set to NO by default.
#               Set it to YES to enable doormand.
# mt_daapd_config (path):   Set to %%PREFIX%%/etc/mt-daapd.conf
#               by default.
#

. %%RC_SUBR%%

name="mt-daapd"
rcvar="mt_daapd_enable"

command=%%PREFIX%%/sbin/mt-daapd
command_args="-c $mt_daapd_config"
pidfile=/var/run/mt-daapd.pid

load_rc_config $name

: ${mt_daapd_enable="NO"}
: ${mt_daapd_config="%%PREFIX%%/etc/mt-daapd.conf"}

run_rc_command "$1"

--=_4441711e.ktjnMKlWhDcCHG8TuE8UfHuIBwBSD9FhcviFX0jQvrBUBHi5--



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