ports/95190: [PATCH] audio/mt-daapd: update to 0.2.4

Alexander Botero-Lowry alex at foxybanana.com
Sat Apr 15 22:19:07 UTC 2006


Attached is the correct rc.subr script for this.

Alex

Edwin Groothuis <edwin at 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!
>
-------------- next part --------------
#!/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"


More information about the freebsd-ports-bugs mailing list