Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

Various OS flavors will have different ways of doing this, so here's a collection point for scripts you might use in those environments.

Gentoo Linux and derivatives

Gentoo-handle_initscript.mht works for me as /etc/init.d/handle for startup, but stop isn't working yet. This needs a companion /etc/conf.d/handle defining DSPACE_HOME and HANDLE_HOME to point to the DSpace installation directory.

Ubuntu 8.04 and 10.04 methods

Edit the file

/etc/rc.local

and the line

/home/dspace/bin/start-handle-server

. This is assuming of course that your DSpace home is:

/home/dspace

.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Handle_Server for more info.

RedHat RHEL and CentOS

handle.lso works for me as /etc/init.d/handle. Be sure to customize the script for your environment, setting the default values for TOMCAT_USER, DSPACE_DIR, JAVA_HOME, JRE_HOME.

2015

dspace-handle.txt is an updated and slightly improved version of the init script posted by Gary Browne on May 10, 2012 on the dspace-tech mailing list. Be sure to remove the .txt extension and change the exec variable to point to your DSpace bin directory.

 

Debian-based distributions

See Ubuntu?

  • No labels