diff options
author | Rob Austein <sra@hactrn.net> | 2007-12-22 03:17:40 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-12-22 03:17:40 +0000 |
commit | 3f20b36ed42efba0ee12317a4b8dbd7c88c24e82 (patch) | |
tree | 48f66b083e1edba5fa13fd0baf405db860c2e579 /scripts/rpkid.py | |
parent | 4ce736d40ce0ec9582de9052a2307bb92c3d5e86 (diff) |
Checkpoint
svn path=/scripts/irdb.py; revision=1414
Diffstat (limited to 'scripts/rpkid.py')
-rwxr-xr-x | scripts/rpkid.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/rpkid.py b/scripts/rpkid.py index 0c0f8788..ef8ff2be 100755 --- a/scripts/rpkid.py +++ b/scripts/rpkid.py @@ -104,7 +104,13 @@ for o,a in opts: if argv: raise RuntimeError, "Unexpected arguments %s" % argv -gctx = global_context(cfg = rpki.config.parser(cfg_file), section = "rpkid") +cfg = rpki.config.parser(cfg_file) +cfg_section = "rpkid" + +if cfg.has_option(cfg_section, "startup-message"): + rpki.log.info(cfg.get(cfg_section, "startup-message")) + +gctx = global_context(cfg = cfg, section = cfg_section) rpki.https.server(privateKey = gctx.https_key, certChain = gctx.https_certs, |