EPrints 2.3 Documentation - force_config_reload command

- NAME
- SYNOPSIS
- DESCRIPTION
- ARGUMENTS
- OPTIONS

# NAME

force_config_reload - Force the webserver to reload the configuration of this repository.

# SYNOPSIS

force_config_reload repository_id [options]

# DESCRIPTION

This command forces the webserver to reload the config files for the given repository.

This is very useful, but the webserver will only reload the config files in the ``forked'' versions of itself, but the origional. This will generate a major extra load each time the webserver forks of a process.

This command offers a temporary solution to the problem only. You should still restart apache at some point.

All this file really does is create an empty file named .changed in the repositories own var/ directory. The main system, running in the webservers mod_perl, looks at the time this file was last modified. If this file has changed since the repository configuration was loaded then it forces a reload.

# ARGUMENTS

repository_id

  The ID of the eprint repository to force a reload on.

# OPTIONS

--help

  Print a brief help message and exit.

--man

  Print the full manual page and then exit.

--quiet

  Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose

  Explain in detail what is going on. May be repeated for greater effect.

--version

  Output version information and exit.

EPrints 2.3 Documentation - force_config_reload command