[Akonadi] [Bug 353957] Akonadi IMAP resource crashed when checked maildir

Christian Bayer via KDE Bugzilla bugzilla_noreply at kde.org
Thu Dec 3 23:23:38 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=353957

--- Comment #12 from Christian Bayer <christian_bay at gmx.de> ---
Since no one seems to acknowledge that this is an important bug that needs to
be fixed, here is a script for people who can't wait. Replace
akonadi_imap_resource_3 with the name of the akonadi resource that crashes.

$ cat imap_resource_respawn
#!/bin/bash

while [ /bin/true ]
do
        PID=`pgrep -f  "/usr/bin/akonadi_imap_resource --identifier
akonadi_imap_resource_3"`
        if [ -z $PID ]
        then
                echo process $PID died. Respawning.
                /usr/bin/akonadi_imap_resource --identifier
akonadi_imap_resource_3&
        fi
        sleep 10s
done

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list