Koha-clms/debian/scripts
Jared Camins-Esakov 297d22459f Bug 6913: More options for koha-create and koha-remove
This commit makes koha-create more flexible by adding a number of command-line
and configuration options.

The biggest change is to add support for pre-determined MySQL credentials using
a file in /etc/koha/passwd (for security reasons, if you use this feature, make
sure the file is not world-readable). The configuration file has the following
format:
instance:user:password:database
The database is optional, but the other two are both required if you want to
specify MySQL credentials. If no credentials are specified for a given instance,
the standard koha_instance username and an auto-generated password are used.

The following additional command line options are now available:
* --use-db - use a pre-existing database, see also --database
* --database - specify the name of the mysql database (still defaults to
  koha_instance)
* --passwdfile - specify a custom (Koha) passwd file for MySQL credentials

The following additional variables are now available (for use in
koha-sites.conf or a custom config file):
* OPACPORT (previously added but not documented) - port on which the OPAC
  should be served
* OPACPREFIX - prefix for the OPAC's virtual host
* OPACSUFFIX - suffix for the OPAC's virtual host

This commit also adds the --keep-mysql option to koha-remove, which, if
specified, will prevent koha-remove from deleting the database or MySQL user
when removing an instance.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2012-02-02 09:15:20 +01:00
..
koha-create Bug 6913: More options for koha-create and koha-remove 2012-02-02 09:15:20 +01:00
koha-create-dirs Bug 7008 - create tmp dir for zebra 2011-12-03 07:56:44 +01:00
koha-disable
…
koha-dump
…
koha-dump-defaults
…
koha-email-disable
…
koha-email-enable
…
koha-enable
…
koha-foreach
…
koha-list
…
koha-mysql Bug 6486 - add the koha-mysql command 2011-08-18 21:20:52 +12:00
koha-rebuild-zebra
…
koha-remove Bug 6913: More options for koha-create and koha-remove 2012-02-02 09:15:20 +01:00
koha-reset-passwd
…
koha-restart-zebra
…
koha-restore Bug 7216 - koha-restore does not correctly set home 2011-12-06 17:01:56 +01:00
koha-run-backups
…
koha-start-zebra
…
koha-stop-zebra Bug 6929 - ensure that koha-stop-zebra will try to stop everything 2011-10-19 16:26:57 +13:00
koha-upgrade-schema
…
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00