mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
21 lines
348 B
Plaintext
Executable File
21 lines
348 B
Plaintext
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="@prefix@/bin/${realname}"
|
|
pidfile="/var/run/${realname}.pid"
|
|
sig_stop="SIGINT"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1" |