#153 Add cli args to ipsilon-upgrade-database to make it nicer to use
Merged by merlinthp. Opened by merlinthp.
merlinthp/ipsilon updb  into  master

Download 153.patch

Add an argparser to it taking similar arguments to -server-install, and
rework find_config a bit.

Also, change the error messages that tell the admin to run ipsilon-
upgrade-database to include the correct command line arguments for the
instance.

Signed-off-by: Howard Johnson merlin@merlinthp.org

All the arguments are in a mutual exclusion group, so you can't specify more than one of the three arguments at once. But if --instance isn't specified, it will always be set to idp, so we blank out that value if root-instance is specified.

Note that the root instance has the name "root".
So it's in /etc/ipsilon/root/ipsilon.conf

rebased

Commit 7d1b216b fixes this pull-request

Pull-Request has been merged by merlin@merlinthp.org

Merged. Thanks!

Metadata