geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 5c0b78719d97fb96b62ff4f13b435a07f896a1e8
parent 933a46862bbf145fe708bdb09107bf20ceeeaf82
Author: Quentin Rameau <quinq@fifth.space>
Date:   Wed,  1 Apr 2020 20:51:17 +0200

Makefile: install to $PREFIX/sbin

This is a daemon which requires privileges to run by default.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
Makefile | 2+-
rc.d/NetBSD.rc.d | 2+-
rc.d/rc.geomyidae | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -6,7 +6,7 @@ NAME = geomyidae VERSION = 0.34 PREFIX = /usr/local -BINDIR = ${PREFIX}/bin +BINDIR = ${PREFIX}/sbin MANDIR = ${PREFIX}/share/man/man8 CFLAGS = -O2 -Wall diff --git a/rc.d/NetBSD.rc.d b/rc.d/NetBSD.rc.d @@ -9,7 +9,7 @@ $_rc_subr_loaded . /etc/rc.subr name="geomyidae" rcvar=$name -command="/usr/local/bin/${name}" +command="/usr/local/sbin/${name}" ##################################################### # Geomyidae Options Section - "?" => geomyidae(8) # diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae @@ -1,7 +1,7 @@ #!/bin/sh # Array of all PIDS -PID=($(pidof -o %PPID /usr/bin/geomyidae)) +PID=($(pidof -o %PPID /usr/sbin/geomyidae)) case "$1" in start)