mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-13 07:11:46 -05:00
prefix-ize contrib startup scripts, closing ticket #77
This commit is contained in:
21
contrib/init.d/mtdaapd-bsd.templ
Executable file
21
contrib/init.d/mtdaapd-bsd.templ
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user