diff options
Diffstat (limited to 'audio/icecast2/files/icecast.sh')
-rwxr-xr-x | audio/icecast2/files/icecast.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/icecast2/files/icecast.sh b/audio/icecast2/files/icecast.sh new file mode 100755 index 00000000000..450320a5336 --- /dev/null +++ b/audio/icecast2/files/icecast.sh @@ -0,0 +1,18 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: icecast.sh,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $ +# + +# PROVIDE: icecast +# REQUIRE: DAEMON LOGIN + +. /etc/rc.subr + +name="icecast" +rcvar=$name +command="@PREFIX@/bin/${name}" +command_args="-b -c @PKG_SYSCONFDIR@/$name.xml 1>2& >/dev/null" +required_files="@PKG_SYSCONFDIR@/$name.xml" + +load_rc_config $name +run_rc_command "$1" |