~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to stop-loggerhead

  • Committer: Martin Albisetti
  • Date: 2008-08-19 12:54:33 UTC
  • Revision ID: argentina@gmail.com-20080819125433-li7v1yi48747atc2
Change footer text to something sensible

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import sys
20
20
from optparse import OptionParser
21
21
 
22
 
from loggerhead import release
23
 
 
24
22
home = os.path.realpath(os.path.dirname(__file__))
25
23
default_pidfile = os.path.join(home, 'loggerhead.pid')
26
 
parser = OptionParser(usage='usage: %prog [options]', version='%prog ' + release.version)
 
24
parser = OptionParser(usage='usage: %prog [options]', version='%prog')
27
25
parser.add_option('-p', '--pidfile', dest="pidfile", default=default_pidfile,
28
26
                                  help="override pidfile location")
29
27