pkgsrc/audio/daapd/files/daapd.sh
mjl 79d3d0e997 Update to daapd 0.2.4a
- Bugfixes and additions to static playlists.
 - Adds static playlists. daapd reads playlists in M3U, M3U extended
   and PLS format.
2005-01-06 14:43:09 +00:00

27 lines
521 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: daapd.sh,v 1.2 2005/01/06 14:43:09 mjl Exp $
#
# PROVIDE: daapd
# REQUIRE: DAEMON LOGIN
. /etc/rc.subr
name="daapd"
help_name=$name
rcvar=$name
command="@PREFIX@/bin/${name}"
required_files="@PKG_SYSCONFDIR@/daapd.conf"
command_args="-c $required_files 2>&1 > /dev/null &"
#if ps auxww | grep -v grep | grep -q mDNSResponder ; then
# echo "Runs: mDNSResponder"
# :
#else
# echo "Starting mDNSResponder"
# /usr/pkg/bin/mDNSResponder
#fi
load_rc_config $name
run_rc_command "$1"