freebsd-ports/net/DarwinStreamingServer/files/streamingadminserver.in
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

21 lines
370 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: streamingadminserver
# REQUIRE: login
#
streamingadminserver_enable=${streamingadminserver_enable-"NO"}
. /etc/rc.subr
name=streamingadminserver
rcvar=streamingadminserver_enable
command=%%PREFIX%%/sbin/${name}.pl
command_interpreter=%%PERL%%
load_rc_config ${name}
pidfile=/var/run/streamingadminserver.pid
run_rc_command "$1"