From: Michael Orlitzky Date: Tue, 24 Dec 2013 04:09:37 +0000 (-0500) Subject: Add the example openrc init file. X-Git-Tag: 0.0.2~1 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=commitdiff_plain;h=8f85b770010bb78c0d1f29c188e602a97e77e3bd Add the example openrc init file. --- diff --git a/doc/init.openrc b/doc/init.openrc new file mode 100755 index 0000000..783bcdd --- /dev/null +++ b/doc/init.openrc @@ -0,0 +1,15 @@ +#!/sbin/runscript + +# +# An example init file tailored for OpenRC on Gentoo. +# + +description="Launch htsn to parse The Sports Network feed" +command="/usr/bin/htsn" +command_args="--daemonize" +pidfile="/run/htsn/htsn.pid" + +depend() { + use logger + need dns net +}