20
20
from optparse import OptionParser
24
22
home = os.path.realpath(os.path.dirname(__file__))
25
23
default_pidfile = os.path.join(home, 'loggerhead.pid')
27
25
parser.add_option('-p', '--pidfile', dest="pidfile", default=default_pidfile,
28
26
help="override pidfile location")