Changes between Version 23 and Version 24 of InstallationGuidelines/Linux/Server/CherokeePostgreSQL


Ignore:
Timestamp:
01/27/12 23:04:08 (13 years ago)
Author:
Praneeth Bodduluri
Comment:

clean made to respect uwsgi init

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/Linux/Server/CherokeePostgreSQL

    v23 v24  
    408408cat << EOF2 > "/usr/local/bin/clean"
    409409#!/bin/sh
     410/etc/init.d/uwsgi stop
    410411cd ~web2py/applications/eden
    411412rm -f databases/*
     
    456457sed -i 's/deployment_settings.base.migrate = True/deployment_settings.base.migrate = False/g' models/000_config.py
    457458sed -i 's/deployment_settings.base.prepopulate = 1/deployment_settings.base.prepopulate = 0/g' models/000_config.py
    458 /usr/local/bin/maintenance off
    459459/usr/local/bin/compile
     460/etc/init.d/uwsgi start
    460461EOF2
    461462chmod +x /usr/local/bin/clean