88 Commits

Author SHA1 Message Date
jbergstroem
b9482801f6 Fix typos 2010-02-10 16:59:23 -05:00
Benoit Chesneau
54357b3487 fix logging in file in daemon mode. error spotted by @jbergstroem and
fixed with help of @asenchi
2010-02-10 12:04:06 +01:00
Benoit Chesneau
b0250cbb5e test first with args if any then use the default. While I'm here remove
caps that was hurting my eyes.
2010-02-10 10:41:32 +01:00
Benoit Chesneau
029a861fd0 fix usages messages 2010-02-10 10:18:08 +01:00
Benoit Chesneau
a7f3d941a3 add possibility to set the settings.py path in gunicorn_django command.
(allows you to use different files too)
2010-02-10 10:10:40 +01:00
Benoit Chesneau
593051a43d only looks for settings.py after we set the command line options 2010-02-10 09:54:01 +01:00
Benoit Chesneau
f071e7d4e1 fix version handling 2010-02-09 23:05:12 +01:00
Benoit Chesneau
cc060fbd0e little bump 2010-02-03 19:46:14 +01:00
Benoit Chesneau
eb0414e02c console override ini 2010-02-03 19:43:45 +01:00
Benoit Chesneau
bfbac6fa4c fix gunicorn_paster 2010-02-03 19:41:14 +01:00
Benoit Chesneau
c3801b5283 some changes after review of @davisp 2010-02-03 15:54:14 +01:00
Benoit Chesneau
92a0a2582d bump version number and add it to usage 2010-02-03 15:02:05 +01:00
Benoit Chesneau
c6c704346a better help line 2010-02-03 14:49:42 +01:00
Benoit Chesneau
0935ab3344 branch to handle unix sockets 2010-02-03 13:35:32 +01:00
Benoit Chesneau
957496304c fix #8. 2010-02-03 12:01:45 +01:00
Benoit Chesneau
614a5d25c1 replace /bin/* py setup entry-points 2010-02-02 18:23:37 +01:00
Benoit Chesneau
6ecbd9bff8 qfix 2010-02-01 19:53:34 +01:00
Benoit Chesneau
f23c24f92f add time to logs 2010-02-01 19:13:09 +01:00
Benoit Chesneau
4be8e9f0ee some fixes. Now we have daemonized mode and pidfile. 2010-01-30 02:28:49 +01:00
Benoit Chesneau
ced1f39020 some fixes. still dont handle SIGQUIT on workers :/ 2010-01-30 00:56:09 +01:00
Benoit Chesneau
6d4ef85e39 inherit PIPE and fix bug in reap_workers 2010-01-29 22:55:01 +01:00
Benoit Chesneau
6dff13c309 only one should be imported. 2010-01-29 21:35:36 +01:00
Benoit Chesneau
6f4db28710 make daemonizing better 2010-01-29 21:32:16 +01:00
Benoit Chesneau
82ed62d35d fork twice as usual per request of davisp 2010-01-29 21:11:41 +01:00
Benoit Chesneau
80b4534922 first step for self daemonized. Still need to fix workers kill 2010-01-29 21:05:28 +01:00
Benoit Chesneau
d5880e2bcf add pidfile support. gunicorn --pid=/tmp/gunicorn.pid or paster server
prod.ini pid=/tmp/gunicorn.pid
2010-01-29 19:04:43 +01:00
Benoit Chesneau
57054f1a4c don't set default values for command line options so we can use paster
one and later our own conf. While I'm here display the address on which
we start to listen so we can get the port when using port=0.
2010-01-27 16:08:08 +01:00
Benoit Chesneau
23af620000 I thought global_conf would be enough to get all info from paster.
Obviously I was wrong, we also need to use local_conf. Spotted by @gawel
on irc.
2010-01-27 15:42:52 +01:00
Benoit Chesneau
96a0a0c895 update test.ini 2010-01-26 02:12:29 +01:00
Benoit Chesneau
e830a8f54d add debug option and support in paster. It allows us to work with paster
in debug mode and some other app that eval results. In debug mode only
one worker could be launch and wsgi.multiprocess is set to False.
2010-01-23 18:26:07 +01:00
Benoit Chesneau
3609b65385 add irc channel to the readme. 2010-01-23 17:16:36 +01:00
Benoit Chesneau
1a3c09b1a8 80 cols. 2010-01-23 16:53:56 +01:00
Benoit Chesneau
63d45ef181 gunicorn server factory for paster. 2010-01-23 16:46:49 +01:00
Eric Florenzano
036735b456 Used PyFlakes to detect and fix unneeded imports. 2010-01-21 13:23:35 -08:00
Benoit Chesneau
d37a9d81dc edit header to tell the license. 2010-01-19 00:09:09 +01:00
Benoit Chesneau
bcfeed0d5f change code header to redirect to NOTICE file for more info. 2010-01-18 23:53:23 +01:00
Benoit Chesneau
4bfdd60501 remove relative imports. new close function 2010-01-18 04:18:25 +01:00
Paul J. Davis
aa30df9e26 Add logging level command line options.
Refactored the scripts to be more DRY as well. gunicorn_django needs
testing as I don't have a django environ handy to test with.
2010-01-17 12:33:45 -05:00