mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-30 09:03:23 -05:00
21 lines
350 B
Bash
Executable File
21 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# PROVIDE: mtdaapd mt-daapd
|
|
# REQUIRE: DAEMON
|
|
# KEYWORD: shutdown
|
|
#
|
|
# mt-daapd daemon.
|
|
#
|
|
# Created by Patrick Lemmens for NetBSD and FreeBSD.
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="mtdaapd"
|
|
realname="mt-daapd"
|
|
rcvar=$name
|
|
command="/usr/local/bin/${realname}"
|
|
pidfile="/var/run/${realname}.pid"
|
|
sig_stop="SIGINT"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1" |