From: Ricardo Markiewicz Date: Sun, 24 Oct 2004 21:15:18 +0000 (+0000) Subject: fix X-Git-Tag: svn_import~55 X-Git-Url: https://git.llucax.com/z.facultad/75.08/llamadas.git/commitdiff_plain/b5bcb807630c172c9d61930529b4bf42d3550778?ds=sidebyside fix --- 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