Code

Changes between Version 9 and Version 10 of InitdScriptForLinux


Ignore:
Timestamp:
07/31/10 02:06:39 (4 years ago)
Author:
dat94egu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InitdScriptForLinux

    v9 v10  
    175175PORT=$(($PORT + 1)) 
    176176}}} 
     177 
     178== Some improvements == 
     179To make the script a bit less random, so it is easier to connect to the web-server use named sockets instead.  
     180Replace: 
     181{{{ 
     182host=$HOST port=$PORT  
     183}}} 
     184With:  
     185{{{ 
     186socket=$SITES_PATH/$SITE/$SITE.sock 
     187}}} 
     188 
     189This will obvious not work if the django site(s) and the web server are on different machines.