diff options
author | Rob Austein <sra@hactrn.net> | 2014-09-14 21:40:40 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-09-14 21:40:40 +0000 |
commit | 558a82a19f6771ea264a9d7c56ec089b31643af1 (patch) | |
tree | e78645e00a00f5fe064226ed173bb00f45273b29 /rpki/rootd.py | |
parent | c874da448d5b25c0c7c47caefda0b366354a3945 (diff) |
Remove --config arguments from all daemons, as part of simplifying
startup procedure. This may be temporary, as processing --help
without a configuration file may require deferring all Django imports
until late enough that --config would work too. Defer for now.
svn path=/branches/tk713/; revision=5953
Diffstat (limited to 'rpki/rootd.py')
-rw-r--r-- | rpki/rootd.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpki/rootd.py b/rpki/rootd.py index 41c9e656..e912a846 100644 --- a/rpki/rootd.py +++ b/rpki/rootd.py @@ -338,8 +338,6 @@ 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", @@ -349,7 +347,7 @@ class main(object): rpki.log.init("rootd", args) - self.cfg = rpki.config.parser(set_filename = args.config, section = "rootd") + self.cfg = rpki.config.parser(section = "rootd") self.cfg.set_global_flags() if not args.foreground: |