36 Commits

Author SHA1 Message Date
benoitc
566a76a933 remove -d option and update doc. 2010-05-26 00:32:59 +02:00
benoitc
f8fac58d73 some fixes discovered with pyflakes 2010-05-23 00:44:53 +02:00
benoitc
7629575d8d handle preload in django command 2010-05-22 21:18:40 +02:00
Benoit Chesneau
cdffaeff16 fix django run 2010-05-19 13:39:39 -04:00
Benoit Chesneau
c01123eb06 adapt django command to new config stuff. 2010-05-19 13:39:37 -04:00
benoitc
40e5751fb7 s/workerclass/worker_class & fix gunicorn django 2010-04-22 21:56:37 +02:00
benoitc
5b2f98fca4 fix erros spotted by pyflakes 2010-04-22 19:41:29 +02:00
benoitc
40f1c43ccf iadd --arbiter option to django run command 2010-03-17 00:53:57 +01:00
benoitc
6deeeecc80 clean the code 2010-03-01 08:57:46 +01:00
benoitc
3a2673d52e don't return headers here. 2010-02-24 18:57:12 +01:00
benoitc
6c48e91904 allow config file to set proc_name. spotted by @jbergstroem on irc.
thanks!
2010-02-24 14:20:28 +01:00
benoitc
756d74ed0d fix config path and make sure we can use it in django admin command too 2010-02-23 15:39:18 +01:00
benoitc
85c773098c s/app_name/proc_name. Update faq to say that you can set the
process_name in conf.
2010-02-22 19:15:48 +01:00
benoitc
aea5133183 no cookie for me. but let me the coffee 2010-02-22 18:33:34 +01:00
benoitc
dbc07e669f "applicationi name" -> "processus name" 2010-02-22 18:26:12 +01:00
benoitc
386fbd6e13 fix umask so we use it only when creating socket. 2010-02-22 16:52:32 +01:00
benoitc
5afec8d726 add setproctitle support. -n allow to customize the name. by default
it's the arg passed to command line for wsgi app, module.settings for
djang and ini file path for paster
2010-02-22 16:29:35 +01:00
benoitc
6c12f313e3 on irc jbergstroem noticed that gunicorn behavior is different than
nginx one in the way it manages processes uid/gid. Only nginx workers
get uid/gid and master if launch as root stay root. This patch give ti
gunicorn the same behavior.
2010-02-22 14:20:06 +01:00
benoitc
71a9a1efeb convert umask in one place 2010-02-21 16:43:19 +01:00
benoitc
c40697879c umask everywhere 2010-02-21 12:22:12 +01:00
Benoit Chesneau
443a6c8363 refactor paster entry point to use Config object. 2010-02-17 10:01:05 +01:00
Benoit Chesneau
b3341e3cbc since refactoring we just need to print the address. 2010-02-17 09:47:09 +01:00
Benoit Chesneau
51a58e58c5 make sure address is a bytestring. While I'm here fix django
run_gunicorn command to use Config and set logger
2010-02-17 09:42:32 +01:00
Benoit Chesneau
6e3fec40fc update README. while I'm here add short option for workers 2010-02-15 15:57:58 +01:00
Benoit Chesneau
ec7614f50c fix django extensions 2010-02-15 15:48:02 +01:00
benoitc
5cc19f7037 allow changin worker user/group in non daemon mode. fix authorization of
unix socket too
2010-02-15 15:27:29 +01:00
Benoit Chesneau
d00712da2e while we are here just parse all the address in the conf file. so we
could have unix socket support in paster app too by just passing the
host
2010-02-15 14:41:13 +01:00
Benoit Chesneau
7036e424bb reuse code 2010-02-15 14:35:25 +01:00
Benoit Chesneau
53814c1af4 add user/group option. uid/gid or username/groupname can now be passed
in daemon mode.
2010-02-15 14:03:48 +01:00
benoitc
07d252eb4d add umask option 2010-02-15 11:30:15 +01:00
Benoit Chesneau
d8baf9b30e fix #10 & #11. thanks 2010-02-12 10:22:22 +01:00
Benoit Chesneau
2d10aa1f83 var changed 2010-02-03 17:48:13 +01:00
Benoit Chesneau
0935ab3344 branch to handle unix sockets 2010-02-03 13:35:32 +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
6afaf608e3 add daaemon option 2010-01-31 02:34:16 +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