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/pubd.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/pubd.py')
-rw-r--r-- | rpki/pubd.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpki/pubd.py b/rpki/pubd.py index cf5b1b6a..cb9da32c 100644 --- a/rpki/pubd.py +++ b/rpki/pubd.py @@ -53,8 +53,6 @@ class main(object): self.irbe_cms_timestamp = None 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", @@ -68,7 +66,7 @@ class main(object): rpki.log.init("pubd", args) - self.cfg = rpki.config.parser(set_filename = args.config, section = "pubd") + self.cfg = rpki.config.parser(section = "pubd") self.cfg.set_global_flags() if not args.foreground: |