Changes between Version 2 and Version 3 of InitdScriptForLinux
- Timestamp:
- Jul 16, 2007, 11:30:57 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InitdScriptForLinux
v2 v3 145 145 '''start-stop-daemon --start --exec /usr/bin/python $SITES_PATH/$SITE/manage.py runfcgi method=threaded host=$HOST port=$PORT pidfile=$RUNFILES_PATH/$SITE.pid --pidfile $RUNFILES_PATH/$SITE.pid''' 146 146 147 For Debian with sockets, this worked: 148 149 '''start-stop-daemon --start --pidfile $RUNFILES_PATH/$SITE.pid --startas /usr/bin/python $SITES_PATH/$SITE/manage.py runfcgi method=threaded socket=$RUNFILES_PATH/$SITE.socket pidfile=$RUNFILES_PATH/$SITE.pid''' 150 147 151 The script could be improved: 148 152 * It does not have a finely grained site management. All sites are treated alike.