Mercurial > repos > melissacline > ucsc_xena_platform
comparison python-daemon-2.0.5/doc/TODO @ 33:7ceb967147c3
start xena with no gui
add library files
| author | jingchunzhu <jingchunzhu@gmail.com> |
|---|---|
| date | Wed, 22 Jul 2015 13:24:44 -0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 32:63b1ba1e3424 | 33:7ceb967147c3 |
|---|---|
| 1 TODO for ‘python-daemon’ library | |
| 2 ################################ | |
| 3 | |
| 4 :Updated: 2015-01-10 | |
| 5 | |
| 6 ======= | |
| 7 PENDING | |
| 8 ======= | |
| 9 | |
| 10 Tests | |
| 11 ===== | |
| 12 | |
| 13 Libraries | |
| 14 ========= | |
| 15 | |
| 16 * Evaluate switching to ‘flufl.lock’ library for PID lockfile behaviour | |
| 17 <http://pypi.python.org/pypi/flufl.lock>_. | |
| 18 | |
| 19 Features | |
| 20 ======== | |
| 21 | |
| 22 Important | |
| 23 --------- | |
| 24 | |
| 25 Wishlist | |
| 26 -------- | |
| 27 | |
| 28 * Allow specification of a syslog service name to log as (default: | |
| 29 output to stdout and stderr, not syslog). | |
| 30 | |
| 31 Documentation | |
| 32 ============= | |
| 33 | |
| 34 Standard library inclusion | |
| 35 ========================== | |
| 36 | |
| 37 | |
| 38 ==== | |
| 39 DONE | |
| 40 ==== | |
| 41 | |
| 42 * Convert to Python 2 and Python 3 compatible code base. | |
| 43 | |
| 44 * Work correctly with current ‘lockfile’ library (0.10 or later). | |
| 45 | |
| 46 * Write full unit tests for every new or changed behaviour at time of | |
| 47 commit. | |
| 48 | |
| 49 * Detect whether started by another process that handles | |
| 50 daemonisation, such as ‘inetd’, and behave appropriately. | |
| 51 | |
| 52 * Detach to new process and session group. | |
| 53 | |
| 54 * Allow specification of working directory (default: '/'). | |
| 55 | |
| 56 * Allow specification of umask (default: 0o000). | |
| 57 | |
| 58 * Drop ‘suid’ and ‘sgid’ privileges if set. | |
| 59 | |
| 60 * Close all open file handles. | |
| 61 | |
| 62 * Re-open stdin, stdout, stderr to user-specified files. | |
| 63 | |
| 64 * Default re-open stdin, stdout, stderr to ‘/dev/null’. | |
| 65 | |
| 66 * Allow specification of a non-root user and group to drop to, if | |
| 67 started as ‘root’ (default: no change of user or group). | |
| 68 | |
| 69 * Implement context manager protocol for daemon context. | |
| 70 | |
| 71 * Allow specification of PID file with its own context manager | |
| 72 (default: no PID file). | |
| 73 | |
| 74 * Full docstrings for functions, classes, and modules. | |
| 75 | |
| 76 * PEP 3143 for adding this library to the Python standard library. | |
| 77 | |
| 78 | |
| 79 .. | |
| 80 This is free software: you may copy, modify, and/or distribute this work | |
| 81 under the terms of the Apache License version 2.0 as published by the | |
| 82 Apache Software Foundation. | |
| 83 No warranty expressed or implied. See the file ‘LICENSE.ASF-2’ for details. | |
| 84 | |
| 85 .. | |
| 86 Local variables: | |
| 87 coding: utf-8 | |
| 88 mode: text | |
| 89 mode: rst | |
| 90 time-stamp-format: "%:y-%02m-%02d" | |
| 91 time-stamp-start: "^:Updated:[ ]+" | |
| 92 time-stamp-end: "$" | |
| 93 time-stamp-line-limit: 20 | |
| 94 End: | |
| 95 vim: fileencoding=utf-8 filetype=rst : |
