Introduction
Introduction Statistics Contact Development Disclaimer Help
Use sbin in rc.geomyidae and kill all PIDs. - geomyidae - A small C-based gophe…
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit cfe4252fd21b32d273ffe9c45b9ce40232e7f6dd
parent a871e3d7021f3d924c3f7f968fccb806d568fdbd
Author: Christoph Lohmann <[email protected]>
Date: Fri, 25 Sep 2020 14:45:17 +0200
Use sbin in rc.geomyidae and kill all PIDs.
Diffstat:
M rc.d/rc.geomyidae | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rc.d/rc.geomyidae b/rc.d/rc.geomyidae
@@ -6,14 +6,14 @@ PID=($(pidof -o %PPID /usr/sbin/geomyidae))
case "$1" in
start)
echo "Starting geomyidae"
- /usr/bin/geomyidae $GEOMYIDAE_ARGS 2>&1
+ /usr/sbin/geomyidae $GEOMYIDAE_ARGS 2>&1
if [ $? -gt 0 ]; then
echo "Startup failed"
fi
;;
stop)
echo "Stopping all geomyidae processes"
- [ -n "$PID" ] && kill ${PID[@]} >/dev/null
+ [ -n "$PID" ] && kill $PID >/dev/null
if [ $? -gt 0 ] && [ -n "$PID" ]; then
echo "Stopping failed for at least one process"
fi
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.