EPrints 2.2 Documentation - force_config_reload command



NAME

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


SYNOPSIS

force_config_reload archiveid [options]


DESCRIPTION

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

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 archives own cfg/ 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 archive configuration was loaded then it forces a reload.


ARGUMENTS

archiveid
The ID of the eprint archive 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.


AUTHOR

This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.


VERSION

EPrints Version: 2.2.1


CONTACT

For more information goto http://www.eprints.org/ which give information on mailing lists and the like.

Chris Gutteridge may be contacted at support@eprints.org

Should you need a real world address for some reason, EPrints can be contacted in the real world at

 EPrints c/o Christopher Gutteridge
 Department of Electronics and Computer Science
 University of Southampton
 SO17 1BJ
 United Kingdom


COPYRIGHT

This file is part of EPrints 2.

Copyright (c) 2000,2001,2002 University of Southampton, UK. SO17 1BJ.

EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

EPrints 2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 EPrints 2.2 Documentation - force_config_reload command