On 01/08/10 17:35, Zoff wrote:
> Hi!
>
> here is another big reason why we need navit.sh startup script:
> if navit is already running it will start a second instance. thats not good.

Indeed, it is not.

I have just added SingleInstance=true into the navit .desktop files 
which should prevent navit from being started twice. They will go out, 
once the next navit updated happens (I did not bump the navit version 
number)

spaetz
> =============================================================================
> pgrep '^navit$'
> not_running=$?
> if [ $not_running == 0 ]; then
>          echo "navit already running !!"
> else
> echo "ok starting navit ..."
>       ** start navit here ***
> fi
> =============================================================================
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to