Changes between Version 9 and Version 10 of InitdScriptForLinux
- Timestamp:
- Jul 31, 2010, 4:06:39 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InitdScriptForLinux
v9 v10 175 175 PORT=$(($PORT + 1)) 176 176 }}} 177 178 == Some improvements == 179 To make the script a bit less random, so it is easier to connect to the web-server use named sockets instead. 180 Replace: 181 {{{ 182 host=$HOST port=$PORT 183 }}} 184 With: 185 {{{ 186 socket=$SITES_PATH/$SITE/$SITE.sock 187 }}} 188 189 This will obvious not work if the django site(s) and the web server are on different machines.