mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 03:56:21 -05:00
[docs] Name change forked-daapd -> owntone in FreeBSD scripts
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user