[Kde-pim] Relocating the akonadi socket
Christian Mollekopf
chrigi_1 at fastmail.fm
Sat Aug 17 16:55:09 BST 2013
On Saturday 17 August 2013 16.07:35 Kevin Krammer wrote:
> On Saturday, 2013-08-17, Christian Mollekopf wrote:
> > On Saturday 17 August 2013 14.45:26 Kevin Krammer wrote:
> > > On Saturday, 2013-08-17, Christian Mollekopf wrote:
> > > > Hey,
> > > >
> > > > I'd like to relocate the akonadi socket to /tmp.
> > >
> > > Isn't that done already?
> > > See server/src/utils.cpp function akonadiSocketDirectory()
> >
> > I think that returns AkStandardDirs::saveDir( "data" )/socket-$hostname/
> >
> > So typically something like:
> > ~/.local/share/akonadi/socket-$domain/
>
> On my system this is just a symlink.
> I had another look at the code and maybe your problem is the ordering of the
> two createSocketDirectory() calls.
> And maybe the case of createSocketDirectory( link, tmpl ) could return tmpl.
Ah, now I get it, the socket directory is indeed a symlink.
I agree, in that case akonadi should simply resolve the symlink to the
/tmp dir before passing it to either akonadi or mysql.
That's currently not working for me, but I'll check where exactly this
requires changes.
Cheers,
Christian
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list