]> git.llucax.com Git - z.facultad/75.08/llamadas.git/blobdiff - inst/afimonio_daemon.sh
fix
[z.facultad/75.08/llamadas.git] / inst / afimonio_daemon.sh
index 1aee8ff8644ee3a8f40331cd537dbc1c86c836ba..db8d3ebd9312189c409db2425fd08165b760f853 100755 (executable)
@@ -20,11 +20,11 @@ case "$1" in
                        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")
-               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