~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Tom Haddon
  • Date: 2008-01-07 22:25:41 UTC
  • mto: This revision was merged to the branch mainline in revision 5459.
  • Revision ID: tom.haddon@canonical.com-20080107222541-4izo8mhzi1eusvs3
Adding shutdown option to makefile

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        @ LPCONFIG=${LPCONFIG} ${PYTHON} \
176
176
            utilities/killservice.py librarian buildsequencer launchpad mailman
177
177
 
 
178
shutdown: scheduleoutage stop
 
179
        rm -f ${SRC}/+maintenancetime.txt
 
180
 
 
181
scheduleoutage:
 
182
        echo Scheduling outage in 15 mins
 
183
        date --iso-8601=minutes -u -d +15mins > ${SRC}/+maintenancetime.txt
 
184
        echo Sleeping 15 mins
 
185
        sleep 900
 
186
 
178
187
harness:
179
188
        PYTHONPATH=lib $(PYTHON) -i lib/canonical/database/harness.py
180
189