Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91807692
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
Thu, Nov 14, 16:17
Size
595 B
Mime Type
text/x-shellscript
Expires
Sat, Nov 16, 16:17 (2 d)
Engine
blob
Format
Raw Data
Handle
22321252
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