Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317828 Details for
Bug 383445
dev-db/hsqldb-2.4.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/hsqldb-2
hsqldb-2 (text/plain), 1.24 KB, created by
Ivan Baidakou (dmol)
on 2012-07-10 17:04:06 UTC
(
hide
)
Description:
files/hsqldb-2
Filename:
MIME Type:
Creator:
Ivan Baidakou (dmol)
Created:
2012-07-10 17:04:06 UTC
Size:
1.24 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/files/hsqldb,v 1.2 2007/12/19 21:58:05 caster Exp $ > >depend() { > use net >} > >init_env_vars() { > JAVA_HOME=`java-config --jre-home` > PN=hsqldb-2 > HSQLDB_HOME="/var/lib/${PN}" > HSQLDB_USER=hsqldb > HSQLDB_GROUP=hsqldb > if [[ $WEBSERVER == "true" ]] ; then > HSQLDB_MAIN=org.hsqldb.server.WebServer > HSQLDB_MODE="(web server mode)" > else > HSQLDB_MAIN=org.hsqldb.server.Server > HSQLDB_MODE="" > fi > SQLTOOL_MAIN=org.hsqldb.cmdline.SqlTool > CLASSPATH=`java-config -d -p ${PN}` > >} > >start() { > init_env_vars > ebegin "Starting HSQL-2 Database ${HSQLDB_MODE}" > start-stop-daemon --start --quiet --background \ > --chdir "${HSQLDB_HOME}" \ > --user ${HSQLDB_USER}:${HSQLDB_GROUP} \ > --make-pidfile --pidfile /var/run/${PN}.pid \ > --exec ${JAVA_HOME}/bin/java -- -classpath "${CLASSPATH}" \ > "${HSQLDB_MAIN}" > return $? > eend $? >} > >stop() { > ebegin "Stopping HSQL-2 Database" > init_env_vars > start-stop-daemon --stop --quiet --retry=60 \ > --pidfile /var/run/${PN}.pid \ > --exec ${JAVA_HOME}/bin/java -- -classpath "${CLASSPATH}" \ > "${SQLTOOL_MAIN}" --sql 'shutdown;' "${URLID}" > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 383445
:
317037
|
317039
|
317041
|
317334
|
317714
|
317716
|
317718
|
317828
|
317830
|
318868
|
318870
|
318872
|
323222