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