Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 461846 Details for
Bug 180559
sci-geosciences/geoserver ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Geoserver init script for openrc
geoserver (text/plain), 1.32 KB, created by
Ervin Peters
on 2017-01-29 17:20:30 UTC
(
hide
)
Description:
Geoserver init script for openrc
Filename:
MIME Type:
Creator:
Ervin Peters
Created:
2017-01-29 17:20:30 UTC
Size:
1.32 KB
patch
obsolete
>#!/sbin/openrc-run > ># Apply default values, could be overwritten via conf.d > >PIDFILE="${PIDFILE:-/var/run/geoserver.pid}" >GEOSERVER_HOME="${GEOSERVER_HOME:-/opt/geoserver}" >GEOSERVER_DATA_DIR="${GEOSERVER_DATA_DIR:-${GEOSERVER_HOME}/data_dir}" >_RUNJAVA=/etc/java-config-2/current-system-vm/bin/java > >depend() { > use net >} > >checkEnv() { > if [ ! -r "$GEOSERVER_HOME"/bin/startup.sh ]; then > eerror "The GEOSERVER_HOME environment variable is not defined correctly" > eerror "This environment variable is needed to run this program" > return 1 > fi > return 0 >} > >start() { > ebegin "Starting ${SVCNAME} $JAVA_OPTS" > checkEnv > if [ $? -eq 0 ]; then > cd "$GEOSERVER_HOME" > start-stop-daemon --start --pidfile $PIDFILE --name GeoServer \ > --chdir $GEOSERVER_HOME -b --make-pidfile -1 /var/log/geoserver -2 /var/log/geoserver.error \ > --exec "$_RUNJAVA" -- $JAVA_OPTS \ > -DGEOSERVER_DATA_DIR=$GEOSERVER_DATA_DIR -Djava.awt.headless=true \ > -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar > fi > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > > checkEnv > cd "$GEOSERVER_HOME" > > local GS="$JAVA_OPTS -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar --stop" > > start-stop-daemon --stop --pidfile $PIDFILE --exec "_RUNJAVA" -- $JAVA_OPTS \ > -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar --stop > > 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 180559
: 461846 |
461848