66c2c7e5a9
In particular, it fixes the non-working stop target Reported by J. Baker
18 lines
367 B
Bash
18 lines
367 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: minidlna.sh,v 1.3 2015/01/15 20:53:18 degroote Exp $
|
|
#
|
|
# PROVIDE: minidlna
|
|
# REQUIRE: DAEMON
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="minidlna"
|
|
required_files="@PKG_SYSCONFDIR@/minidlna.conf"
|
|
pidfile="/var/run/minidlna/minidlna.pid"
|
|
command="@PREFIX@/sbin/minidlnad"
|
|
command_args=" -f ${required_files}"
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|