From b5bcb807630c172c9d61930529b4bf42d3550778 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Sun, 24 Oct 2004 21:15:18 +0000 Subject: [PATCH] fix --- inst/afimonio_daemon.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inst/afimonio_daemon.sh b/inst/afimonio_daemon.sh index db8d3eb..06831fd 100755 --- a/inst/afimonio_daemon.sh +++ b/inst/afimonio_daemon.sh @@ -11,8 +11,10 @@ help () { case "$1" in "start") - echo "Iniciando demonio 'afimonio' en modo daemon ..." + echo -n "Iniciando demonio 'afimonio' en modo daemon ..." nohup "$AFIMONIO_BINDIR/afimonio" & 2>&1 > /dev/null + A_PID=`cat "$BASE_DIR/lock/afimonio.pid"` + echo " con PID=$A_PID" ;; "stop") if ! is_lock "afimonio" ; then -- 2.43.0