Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78359305
tomcat_configure_server_xml.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Aug 20, 03:04
Size
595 B
Mime Type
text/x-shellscript
Expires
Thu, Aug 22, 03:04 (2 d)
Engine
blob
Format
Raw Data
Handle
20029659
Attached To
R2664 SHRINE MedCo Fork
tomcat_configure_server_xml.sh
View Options
#!/bin/bash
source ./shrine.rc
echo "[shrine/tomcat.sh] Configuring tomcat $SHRINE_TOMCAT_SERVER_CONF"
require "${SHRINE_SSL_PORT}" "SHRINE_SSL_PORT must be set"
require "${SHRINE_PORT}" "SHRINE_PORT must be set"
require "${KEYSTORE_FILE}" "KEYSTORE_FILE must be set"
require "${KEYSTORE_PASSWORD}" "KEYSTORE_PASSWORD must be set"
interpolate_file ./skel/tomcat7_server.xml "KEYSTORE_FILE" "$KEYSTORE_FILE" | \
interpolate "KEYSTORE_PASSWORD" "$KEYSTORE_PASSWORD" | \
interpolate "SHRINE_PORT" "$SHRINE_PORT" | \
interpolate "SHRINE_SSL_PORT" "$SHRINE_SSL_PORT" > $SHRINE_TOMCAT_SERVER_CONF
Event Timeline
Log In to Comment