Enabled the ATS communications over SSL.

Created tools for editing settings and policy files.
This commit is contained in:
Juan Carlos Luciani
2006-11-07 05:51:28 +00:00
parent 56723c2b3d
commit 826b389d44
22 changed files with 216 additions and 30 deletions

View File

@@ -75,7 +75,7 @@ StartDAEMON()
if atsIsRunning ; then
rc_failed 0
else
# try to fix permissions
# Try to fix permissions
chown --dereference $DAEMON_USER:$DAEMON_GROUP "$CATALINA_BASE"
for dir in "$CATALINA_BASE/conf" \
"$CATALINA_BASE/logs" \
@@ -85,6 +85,14 @@ StartDAEMON()
# the command true is used because of for example conf directory may be mounted read-only
test -d "$dir" && chown -R --dereference $DAEMON_USER:$DAEMON_GROUP "$dir" 2>/dev/null || true
done
# Make sure that the server.xml link has been made
if [ ! -f /srv/www/casaats/conf/server.xml ]; then
ln -s /srv/www/casaats/conf/server-ibm.xml /srv/www/casaats/conf/server.xml
chown -h casaatsd:casaauth /srv/www/casaats/conf/server.xml
fi
# Start it up
su $DAEMON_USER -s /bin/bash -c "$CATALINA_HOME/bin/startup.sh" >"$CATALINA_BASE/logs//start.log" 2>&1
sleep 1
if atsIsRunning ; then