I applied the patch, and my issue was recurring.  I upgraded all
packages, and still it recurred.  Perhaps I'm experiencing a separate
issue, but my fix was a simple script and to try and change all calls
from mythfrontend.real to mythfrontend.real.sh.

#!/bin/bash

MYTHPID=`pidof mythfrontend.real`

echo $MYTHPID

if [ -z "$MYTHPID" ]
then
        /usr/bin/mythfrontend.real
elif [[ "$MYTHPID" =~ " " ]]
then
        echo "multiple instances running";
        kill `pidof mythfrontend.real|awk '{print $2}'`
else
        echo "There is already an instance of Mythfrontend running.";
fi

-- 
multiple instances on one box undesirable
https://bugs.launchpad.net/bugs/352077
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to