Benoit Chesneau
|
ba8174626e
|
speed remote and server address parsing
|
2010-02-18 01:23:39 +01:00 |
|
Benoit Chesneau
|
56e1d90ab6
|
close tmp in the right place.
|
2010-02-17 13:32:43 +01:00 |
|
Benoit Chesneau
|
ea59668787
|
fix debug in paster entry point
|
2010-02-17 11:07:57 +01:00 |
|
Benoit Chesneau
|
85b12af1ca
|
make sur app can override options if needed. While I'm here clean a
little the code
|
2010-02-17 10:59:33 +01:00 |
|
Benoit Chesneau
|
daeab8655c
|
add requirement. spotted by @jbergstroem on irc
|
2010-02-17 10:19:06 +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
|
d92b669117
|
fix DJANGO_SETTINGS_MODULE environment variable. It depends on settings
module.
|
2010-02-16 19:22:50 +01:00 |
|
Benoit Chesneau
|
3c82b1985b
|
some code documentation.
|
2010-02-16 17:17:47 +01:00 |
|
Benoit Chesneau
|
f4098aa20d
|
some people put their settings in a module like settings/__init__.py .
this change allows it.
|
2010-02-16 16:41:52 +01:00 |
|
Benoit Chesneau
|
dc5fa6d8ee
|
update README
|
2010-02-16 16:03:43 +01:00 |
|
Benoit Chesneau
|
3a04c58dee
|
we have no defaults in optparse object so set them manually in usage.
|
2010-02-16 16:02:34 +01:00 |
|
Benoit Chesneau
|
951c701a32
|
make sure tempfile of workers is removed.
|
2010-02-16 15:52:59 +01:00 |
|
Benoit Chesneau
|
95f6ce5618
|
remove useless print and revert last commit
|
2010-02-16 15:43:41 +01:00 |
|
Benoit Chesneau
|
d567089c3a
|
remove GUNICORN_FD env after we start
|
2010-02-16 15:36:37 +01:00 |
|
Benoit Chesneau
|
e7155f4714
|
obviously since we already used it, it's here. would have been better if we
testes the right. fixed!
variable
|
2010-02-16 15:23:30 +01:00 |
|
Benoit Chesneau
|
87336be46b
|
remove unused import/var and some fixes
|
2010-02-16 14:24:40 +01:00 |
|
Benoit Chesneau
|
d54c832fbc
|
reuse the code to run hooks
|
2010-02-16 11:55:09 +01:00 |
|
Benoit Chesneau
|
9fea7dd34b
|
useless print
|
2010-02-16 11:08:14 +01:00 |
|
Benoit Chesneau
|
d48bc785e6
|
add before_exec hook.
|
2010-02-16 10:32:43 +01:00 |
|
Benoit Chesneau
|
6bc97b926f
|
typo
|
2010-02-16 10:21:50 +01:00 |
|
Benoit Chesneau
|
cb0be6d454
|
add after/before fork hooks
|
2010-02-16 10:19:15 +01:00 |
|
Benoit Chesneau
|
13d9288d69
|
refactor config and put all in config object
|
2010-02-16 10:08:07 +01:00 |
|
Benoit Chesneau
|
6497d5aab2
|
some fixes.
|
2010-02-16 08:33:49 +01:00 |
|
jbergstroem
|
7dc51eb92b
|
Merge configs from default,file and argv
|
2010-02-16 08:16:49 +01:00 |
|
jbergstroem
|
5636eb6d00
|
Switch to execfile instead of imp, suggested by davisp. Introduce default config dict
|
2010-02-16 08:13:34 +01:00 |
|
jbergstroem
|
34d81a7703
|
Add method for returning a config (python) file as dict. Heavily inspired by pyconf
|
2010-02-16 08:12:39 +01:00 |
|
Benoit Chesneau
|
374f0898a9
|
fix issue #15. patch provided by @lericson . Thanks!
|
2010-02-15 20:28:09 +01:00 |
|
Benoit Chesneau
|
e8a82c9598
|
really fix this indent stuff.
|
2010-02-15 16:02:24 +01:00 |
|
Benoit Chesneau
|
947ddaee40
|
fix indent. I hate osx sometimes
|
2010-02-15 15:59:46 +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 |
|
Benoit Chesneau
|
dabf3395aa
|
some will put it as integer in conf file
|
2010-02-15 15:37:49 +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
|
330e945c7a
|
license header
|
2010-02-15 14:54:21 +01:00 |
|
Paul J. Davis
|
e63bd7b843
|
Use getsockname for logging TCP socket info.
When a user wants the kernel to choose a random port we need to display
which port was chosen.
|
2010-02-15 14:53:32 +01:00 |
|
Paul J. Davis
|
61b31994d1
|
Refactored the socket creation code.
|
2010-02-15 14:53:32 +01:00 |
|
Benoit Chesneau
|
26e8f153ca
|
shouldn't have been merged
|
2010-02-15 14:53:02 +01:00 |
|
Benoit Chesneau
|
2e170bb3ad
|
fix paster serve
|
2010-02-15 14:43:39 +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
|
df74d1679f
|
useless spaces
|
2010-02-15 14:05:15 +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
|
2d760e492d
|
apply patch from lericson
|
2010-02-12 14:37:55 +01:00 |
|
Benoit Chesneau
|
d8baf9b30e
|
fix #10 & #11. thanks
|
2010-02-12 10:22:22 +01:00 |
|
jbergstroem
|
7230d65e22
|
Fix: Typos, tabs to spaces and default workers
|
2010-02-10 16:59:24 -05:00 |
|
jbergstroem
|
cb2d9203ee
|
No need for duplicate test(ing).py
|
2010-02-10 16:59:23 -05:00 |
|
jbergstroem
|
b9482801f6
|
Fix typos
|
2010-02-10 16:59:23 -05:00 |
|