Add OpenBSD rc.d file. - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
Log
Files
Refs
Tags
README
LICENSE
---
commit feb461b2232b9b250fa0baebb816f75afa15592e
parent c4dbfb7ae577eafbb717a9cf9fea7eeb9cd40a1e
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sun, 21 Jun 2015 10:08:18 +0200

Add OpenBSD rc.d file.

Thansk Joerg Jung  !

Diffstat:
  A rc.d/OpenBSD.rc.d                   |      10 ++++++++++

1 file changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/rc.d/OpenBSD.rc.d b/rc.d/OpenBSD.rc.d
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# $OpenBSD: rc.template,v 1.6 2014/08/14 19:54:10 ajacoutot Exp $
+
+daemon="${TRUEPREFIX}/bin/geomyidae"
+daemon_flags="-l /var/log/geomyidae.log -u _geomyidae -g _geomyidae"
+
+. /etc/rc.d/rc.subr
+
+rc_cmd $1