Commit graph

11 commits

Author SHA1 Message Date
clowwindy
d774286dc0 rename utils module into shell
Since utils is ambiguous, we want to give the module a more
clear role.
2015-02-10 17:26:10 +08:00
clowwindy
cb7062e1c1 implement utils.print_exception()
Previously we used logging.error(e) and traceback.print_exc()
to output error stack trace. The problem is, we want to
output the stack trace only when verbose > 0. The if statement
scattered around the code. So we replaced them with the new
utils.print_exception() call.
2015-02-10 17:21:29 +08:00
clowwindy
ce805f0aea license under Apache License v2.0 2015-02-03 14:10:36 +08:00
clowwindy
73f21ffbf6 do not check config for daemon stop 2015-02-02 15:50:41 +08:00
clowwindy
ae99698b4e implement --user
fix @278
2015-02-02 15:38:55 +08:00
clowwindy
5ea8403e56 fix daemon and add fastopen tests 2014-12-22 22:42:39 +08:00
clowwindy
2b4c3619d6 reorder setsid and kill 2014-12-21 14:52:00 +08:00
clowwindy
dae2624b30 add setsid 2014-12-21 14:49:51 +08:00
clowwindy
35c3b0b41c refine documentation 2014-12-21 14:06:28 +08:00
clowwindy
28347b685e add unit test for daemon 2014-12-21 13:46:27 +08:00
clowwindy
134497c24f implement daemon 2014-12-21 12:47:07 +08:00