]> git.llucax.com Git - z.facultad/75.08/llamadas.git/commitdiff
fix
authorRicardo Markiewicz <gazer.arg@gmail.com>
Sun, 24 Oct 2004 20:54:55 +0000 (20:54 +0000)
committerRicardo Markiewicz <gazer.arg@gmail.com>
Sun, 24 Oct 2004 20:54:55 +0000 (20:54 +0000)
inst/afimonio_daemon.sh

index 1aee8ff8644ee3a8f40331cd537dbc1c86c836ba..db8d3ebd9312189c409db2425fd08165b760f853 100755 (executable)
@@ -20,11 +20,11 @@ case "$1" in
                        exit 0
                fi
                echo "Parando el demonio 'afimonio' ..."
                        exit 0
                fi
                echo "Parando el demonio 'afimonio' ..."
-               A_PID=`cat "$HOME/lock/afimonio.pid"`
+               A_PID=`cat "$BASE_DIR/lock/afimonio.pid"`
                kill $A_PID
        ;;
        "status")
                kill $A_PID
        ;;
        "status")
-               A_PID=`cat "$HOME/lock/afimonio.pid"`
+               A_PID=`cat "$BASE_DIR/lock/afimonio.pid"`
                if is_lock "afimonio" ; then
                        echo "Afimonio está corriendo actualmente (PID=$A_PID)."
                else
                if is_lock "afimonio" ; then
                        echo "Afimonio está corriendo actualmente (PID=$A_PID)."
                else