~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to stop-loggerhead.py

  • Committer: Robey Pointer
  • Date: 2007-01-14 23:45:53 UTC
  • Revision ID: robey@lag.net-20070114234553-l8zu9z144flojfpn
slight cleanup, and add '-f' option for running in the foreground.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
 
1
#!/usr/bin/env python2.4
2
2
 
3
3
import pkg_resources
4
4
pkg_resources.require("TurboGears")
24
24
    sys.exit(1)
25
25
 
26
26
print
27
 
print 'Shutting down previous server @ pid %d.' % (pid,)
 
27
print 'Shutting down previus server @ pid %d.' % (pid,)
28
28
print
29
29
 
30
30
import signal