Change Archlinux example rc.d script to sbin. - 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 a871e3d7021f3d924c3f7f968fccb806d568fdbd
DIR parent 786ba48fc2133e82a465485a1bbd8b7dfc36c0d0
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 25 Sep 2020 14:43:21 +0200
Change Archlinux example rc.d script to sbin.
Diffstat:
M rc.d/Archlinux.rc.d | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/rc.d/Archlinux.rc.d b/rc.d/Archlinux.rc.d
@@ -4,11 +4,11 @@
. /etc/rc.d/functions
. /etc/conf.d/geomyidae
-PID=$(pidof -o %PPID /usr/bin/geomyidae)
+PID=$(pidof -o %PPID /usr/sbin/geomyidae)
case "$1" in
start)
stat_busy "Starting geomyidae"
- [ -z "$PID" ] && /usr/bin/geomyidae $GEOMYIDAE_ARGS 2>&1
+ [ -z "$PID" ] && /usr/sbin/geomyidae $GEOMYIDAE_ARGS 2>&1
if [ $? -gt 0 ]; then
stat_fail
else