22
22
home = os.path.realpath(os.path.dirname(__file__))
23
23
default_pidfile = os.path.join(home, 'loggerhead.pid')
25
25
parser.add_option('-p', '--pidfile', dest="pidfile", default=default_pidfile,
28
28
options, args = parser.parse_args()
33
33
f = open(options.pidfile, 'r')