From 8f85b770010bb78c0d1f29c188e602a97e77e3bd Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 23 Dec 2013 23:09:37 -0500 Subject: [PATCH] Add the example openrc init file. --- doc/init.openrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 doc/init.openrc 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 +} -- 2.43.2