diff options
author | Rob Austein <sra@hactrn.net> | 2014-09-16 19:21:03 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-09-16 19:21:03 +0000 |
commit | 0eafef08ca3a40747d227126c86fbf000427bad4 (patch) | |
tree | 2e186ec6ec9cff6292ee398269420c34a6b8541f /rpki/rootd.py | |
parent | bcf3d77c6806571271e2e7870a5140a4ceca7cd8 (diff) |
At this point I'm pretty sure that removing the --config options from
daemons was pointless, so back that out before removing branches/tk713.
svn path=/branches/tk705/; revision=5958
Diffstat (limited to 'rpki/rootd.py')
-rw-r--r-- | rpki/rootd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpki/rootd.py b/rpki/rootd.py index 6b6aa0fa..4ded1081 100644 --- a/rpki/rootd.py +++ b/rpki/rootd.py @@ -428,6 +428,8 @@ class main(object): time.tzset() parser = argparse.ArgumentParser(description = __doc__) + parser.add_argument("-c", "--config", + help = "override default location of configuration file") parser.add_argument("-f", "--foreground", action = "store_true", help = "do not daemonize") parser.add_argument("--pidfile", @@ -437,7 +439,7 @@ class main(object): rpki.log.init("rootd", args) - self.cfg = rpki.config.parser(section = "rootd") + self.cfg = rpki.config.parser(set_filename = args.config, section = "rootd") self.cfg.set_global_flags() if not args.foreground: |