]> gitweb.michael.orlitzky.com - dead/htsn.git/commitdiff
Add the example openrc init file.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Dec 2013 04:09:37 +0000 (23:09 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 24 Dec 2013 04:09:37 +0000 (23:09 -0500)
doc/init.openrc [new file with mode: 0755]

diff --git a/doc/init.openrc b/doc/init.openrc
new file mode 100755 (executable)
index 0000000..783bcdd
--- /dev/null
@@ -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
+}