[offlineimap] pidfile location and usage (#229)

Jakub Klinkovský notifications at github.com
Fri Aug 21 19:09:42 BST 2015


To complete the compliance to the XDG standard (see #32), the pidfile should be created in `$XDG_RUNTIME_DIR` instead of the (admittedly configurable) metadata dir.

But more importantly, the pidfile is bound one to one with the metadata dir, but there can be multiple instances of offlineimap per metadata dir (e.g. with different value for the `-a` argument) overwriting their own pidfiles and just changing the location to `$XDG_RUNTIME_DIR` will not help. This leads to a question whether the pidfile is necessary/useful at all. IMHO they are traditionally used by daemon managers to keep track of processes, for which they need to be able to set custom pidfile path per-instance.

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150821/7d030605/attachment-0002.html>


More information about the OfflineIMAP-project mailing list