Benoit Chesneau
|
fba0342536
|
we don't want that.
|
2010-02-03 16:38:18 +01:00 |
|
Benoit Chesneau
|
859e74be40
|
display an error when we can't connect and exit
|
2010-02-03 16:37:23 +01:00 |
|
Benoit Chesneau
|
31ebc40258
|
reap workers here.
|
2010-02-03 16:27:21 +01:00 |
|
Benoit Chesneau
|
43f4dd4109
|
fix
|
2010-02-03 16:17:17 +01:00 |
|
Benoit Chesneau
|
b681b11ed4
|
typo sigh. no cookie for me
|
2010-02-03 16:15:13 +01:00 |
|
Benoit Chesneau
|
b3496bcbd8
|
None != False
|
2010-02-03 16:13:35 +01:00 |
|
Benoit Chesneau
|
5796651a78
|
fix client_addr following observation of @dacisp and reading
http://en.wikipedia.org/wiki/X-Forwarded-For .
|
2010-02-03 16:09:31 +01:00 |
|
Benoit Chesneau
|
c3801b5283
|
some changes after review of @davisp
|
2010-02-03 15:54:14 +01:00 |
|
Benoit Chesneau
|
fd4e13511d
|
reùove empty lines
|
2010-02-03 15:07:57 +01:00 |
|
Benoit Chesneau
|
9d1a3a1894
|
forgot an arg
|
2010-02-03 15:04:19 +01:00 |
|
Benoit Chesneau
|
243da88e6a
|
update readme
|
2010-02-03 15:03:22 +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
|
b7903be3f3
|
handle server_address and client_address in all connections types.
|
2010-02-03 14:38:55 +01:00 |
|
Benoit Chesneau
|
0935ab3344
|
branch to handle unix sockets
|
2010-02-03 13:35:32 +01:00 |
|
Benoit Chesneau
|
e804f97f5e
|
we don't need this one.
|
2010-02-03 12:07:30 +01:00 |
|
Benoit Chesneau
|
957496304c
|
fix #8.
|
2010-02-03 12:01:45 +01:00 |
|
Benoit Chesneau
|
f3822a7f2f
|
typo
|
2010-02-03 10:50:40 +01:00 |
|
Benoit Chesneau
|
c7bbe77a72
|
timeout should be a float. while i'm here be brutal like a ctrl-c.
|
2010-02-03 10:43:32 +01:00 |
|
Benoit Chesneau
|
a57e2ec7e6
|
timeout could be None.
|
2010-02-03 10:41:30 +01:00 |
|
Benoit Chesneau
|
6c405b9d14
|
fix issue #7. thanks!
|
2010-02-03 10:32:28 +01:00 |
|
Benoit Chesneau
|
498809d39e
|
django don't like eggs. use zip_safe=False now
|
2010-02-03 00:01:45 +01:00 |
|
Benoit Chesneau
|
614a5d25c1
|
replace /bin/* py setup entry-points
|
2010-02-02 18:23:37 +01:00 |
|
Benoit Chesneau
|
ea9ccf0da1
|
create temporary file in target dir
|
2010-02-01 22:21:11 +01:00 |
|
Benoit Chesneau
|
c920d59332
|
fix setup, don't import examples.
|
2010-02-01 20:01:09 +01:00 |
|
Benoit Chesneau
|
6ecbd9bff8
|
qfix
|
2010-02-01 19:53:34 +01:00 |
|
Benoit Chesneau
|
31c911f6cc
|
fix license headers and bump release number to 0.3
|
2010-02-01 19:40:59 +01:00 |
|
Benoit Chesneau
|
f23c24f92f
|
add time to logs
|
2010-02-01 19:13:09 +01:00 |
|
Benoit Chesneau
|
54f0e74111
|
test if settings.py exists
|
2010-02-01 19:11:54 +01:00 |
|
Paul J. Davis
|
84d4510847
|
Fix USR1 handling in workers.
|
2010-01-31 18:21:47 -05:00 |
|
Paul J. Davis
|
9dde33c15c
|
Needed to s/break/continue/ with new loop.
|
2010-01-31 17:55:21 -05:00 |
|
Paul J. Davis
|
9e717b8f9c
|
Refactoring the worker loop.
Accidentally got a bit carried away.
|
2010-01-31 17:45:26 -05:00 |
|
Benoit Chesneau
|
ae0416619f
|
update README.
|
2010-01-31 03:55:20 +01:00 |
|
Benoit Chesneau
|
8dd0f9e881
|
fix relatives import in gunicorn_django command
|
2010-01-31 03:51:06 +01:00 |
|
Benoit Chesneau
|
6afaf608e3
|
add daaemon option
|
2010-01-31 02:34:16 +01:00 |
|
Benoit Chesneau
|
85e5b78ec5
|
Merge remote branch 'ericflo/master' into djangocommand
|
2010-01-31 02:10:55 +01:00 |
|
Benoit Chesneau
|
2346866ea5
|
useless debug
|
2010-01-31 02:09:51 +01:00 |
|
Eric Florenzano
|
91d6ee398f
|
Add a run_gunicorn management command for use with Django. To use, simply add 'gunicorn' to your INSTALLED_APPS and run_gunicorn will be available in manage.py.
|
2010-01-30 16:51:57 -08:00 |
|
Benoit Chesneau
|
3a639b8c11
|
update readme
|
2010-01-30 02:47:00 +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
|
ddb48593f3
|
try to send a response even if something happend
|
2010-01-29 16:20:26 +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 |
|