TODO 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. TODO for python-daemon library
  2. ##############################
  3. =======
  4. PENDING
  5. =======
  6. Tests
  7. =====
  8. * Write full unit tests for every new or changed behaviour at time of
  9. commit.
  10. Features
  11. ========
  12. Important
  13. ---------
  14. Wishlist
  15. --------
  16. * Allow specification of a syslog service name to log as (default:
  17. output to stdout and stderr, not syslog).
  18. Documentation
  19. =============
  20. Standard library inclusion
  21. ==========================
  22. * Convert to Python 3.
  23. ====
  24. DONE
  25. ====
  26. * Detect whether started by another process that handles
  27. daemonisation, such as ‘inetd’, and behave appropriately.
  28. * Detach to new process and session group.
  29. * Allow specification of working directory (default: '/').
  30. * Allow specification of umask (default: 0000).
  31. * Drop ‘suid’ and ‘sgid’ privileges if set.
  32. * Close all open file handles.
  33. * Re-open stdin, stdout, stderr to user-specified files.
  34. * Default re-open stdin, stdout, stderr to ‘/dev/null’.
  35. * Allow specification of a non-root user and group to drop to, if
  36. started as ‘root’ (default: no change of user or group).
  37. * Implement context manager protocol for daemon context.
  38. * Allow specification of PID file with its own context manager
  39. (default: no PID file).
  40. * Full docstrings for functions, classes, and modules.
  41. * PEP 3143 for adding this library to the Python standard library.
  42. ..
  43. Local variables:
  44. mode: rst
  45. coding: utf-8
  46. End:
  47. vim: filetype=rst fileencoding=utf-8 :