[docs] Name change forked-daapd -> owntone in FreeBSD scripts

This commit is contained in:
ejurgensen
2021-04-09 20:31:51 +02:00
parent 5f1686695a
commit 90ae602bd5
2 changed files with 24 additions and 24 deletions

View File

@@ -1,25 +1,25 @@
#!/bin/sh
# PROVIDE: forked-daapd
# PROVIDE: owntone
# REQUIRE: avahi_daemon dbus
# Add the following lines to /etc/rc.conf to enable `forked-daapd':
# Add the following lines to /etc/rc.conf to enable `owntone':
#
# forked_daapd_enable="YES"
# forked_daapd_flags="<set as needed>"
# owntone_enable="YES"
# owntone_flags="<set as needed>"
. /etc/rc.subr
name="forked_daapd"
name="owntone"
rcvar=`set_rcvar`
command="/usr/local/sbin/forked-daapd"
command_args="-P /var/run/forked-daapd.pid"
pidfile="/var/run/forked-daapd.pid"
required_files="/usr/local/etc/forked-daapd.conf"
command="/usr/local/sbin/owntone"
command_args="-P /var/run/owntone.pid"
pidfile="/var/run/owntone.pid"
required_files="/usr/local/etc/owntone.conf"
# read configuration and set defaults
load_rc_config "$name"
: ${forked_daapd_enable="NO"}
: ${owntone_enable="NO"}
run_rc_command "$1"