...
Gentoo-handle_initscript.mht works 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.
...
.
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?