URI: 
       improve OpenBSD rc.d file - geomyidae - A small C-based gopherd.
  HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
   DIR commit 5bc940815d5e3cc95115aec8aafc4cc71ef4dda7
   DIR parent 2eaf0470ac6e7ab222d1bef795cc4dac954a0a28
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri, 30 Jun 2017 22:03:39 +0200
       
       improve OpenBSD rc.d file
       
       - arg.h changes argv, change pexp to be more generic so the rc_check is ok.
       - TRUEPREFIX is used in the ports Makefile, but not processed, set the
         default path common on OpenBSD for ports daemons: /usr/local/sbin/geomyidae
         else it would be "/bin" on run-time.
       - bump template header line.
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         M rc.d/OpenBSD.rc.d                   |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/rc.d/OpenBSD.rc.d b/rc.d/OpenBSD.rc.d
       @@ -1,12 +1,14 @@
        #!/bin/sh
        #
       -# $OpenBSD: rc.template,v 1.6 2014/08/14 19:54:10 ajacoutot Exp $
       +# $OpenBSD: geomyidae,v 1.7 2017/06/30 22:06:09 anonymous Exp $
        
       -daemon="${TRUEPREFIX}/bin/geomyidae"
       +daemon="/usr/local/sbin/geomyidae"
        daemon_flags="-l /var/log/geomyidae.log -u _geomyidae -g _geomyidae"
        
        . /etc/rc.d/rc.subr
        
       +pexp="${daemon} .*"
       +
        rc_reload=NO
        
        rc_cmd $1