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