1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/audio/firefly/files/mt-daapd.in
Antoine Brodin 85a2b7804e - Unbreak, by making fetchable again
- Move dbdir to respect hier(7)
- Add a pkg-message

PR:		ports/195224
Submitted by:	maintainer
2014-11-23 15:30:28 +00:00

22 lines
389 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: firefly
# REQUIRE: LOGIN
. /etc/rc.subr
: ${firefly_enable=NO}
name="firefly"
rcvar=firefly_enable
command="%%PREFIX%%/sbin/mt-daapd"
command_args="-c %%PREFIX%%/etc/firefly/mt-daapd.conf"
pidfile="/var/run/mt-daapd.pid"
required_dirs="%%DAAPD_DBDIR%%"
required_files="%%PREFIX%%/etc/firefly/mt-daapd.conf"
load_rc_config "$name"
run_rc_command "$1"