mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
85a2b7804e
- Move dbdir to respect hier(7) - Add a pkg-message PR: ports/195224 Submitted by: maintainer
22 lines
389 B
Bash
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"
|