diff options
author | Rob Austein <sra@hactrn.net> | 2012-04-18 18:17:54 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-04-18 18:17:54 +0000 |
commit | 9f7dc5bbf745135368f8d213a2b275084dac3d23 (patch) | |
tree | 85de6a4a823869b229489794f812c5662e76d792 /rpkid/rpki-sql-backup.py | |
parent | 03d7795032389678af4ed24fdc7ff86252cb3b20 (diff) |
Add start_{rpki,irdb,pub,root}d options. See #238.
svn path=/trunk/; revision=4435
Diffstat (limited to 'rpkid/rpki-sql-backup.py')
-rw-r--r-- | rpkid/rpki-sql-backup.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rpkid/rpki-sql-backup.py b/rpkid/rpki-sql-backup.py index 0a7c9594..b6e7320a 100644 --- a/rpkid/rpki-sql-backup.py +++ b/rpkid/rpki-sql-backup.py @@ -45,9 +45,11 @@ def dump(section): "-p" + cfg.get("sql-password", section = section), "-B", cfg.get("sql-database", section = section))) -if cfg.getboolean("run_rpkid", False): +if cfg.getboolean("start_rpkid", False): dump("irdbd") + +if cfg.getboolean("start_irdbd", False): dump("rpkid") -if cfg.getboolean("run_pubd", False): +if cfg.getboolean("start_pubd", False): dump("pubd") |