79
79
home = os.path.realpath(os.path.dirname(__file__))
80
80
default_pidfile = os.path.join(home, 'loggerhead.pid')
81
82
parser = OptionParser(usage='usage: %prog [options]', version='%prog ' + release.version)
82
83
parser.add_option('-f', '--foreground', action='store_true', dest='foreground', default=False,
83
84
help="run in the foreground; don't daemonize")