Actions
Task #4703
closed
Upgrade #4319: D4Science Infrastructure Upgrade to gCube 4.0
Upgrade #4327: D4Science Gateways upgrade to gCube 4.0
Create Tomcat startup script at boot
Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
Other
Target version:
Start date:
Jul 11, 2016
Due date:
Jul 22, 2016
% Done:
100%
Estimated time:
Infrastructure:
Production
Updated by Andrea Dell'Amico almost 9 years ago
- Status changed from New to In Progress
Updated by Andrea Dell'Amico almost 9 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
The startup scripts are ready. They are upstart based because, with a manual installed tomcat, it's way easiers.
Inside the life
home directory you'll find two scripts:
startContainer.sh
stopContainer.sh
Use them to start and stop the service.
As requested, I redirected the standard output and the standard error to catalina.out
. I'm also providing a logrotate rule to daily rotate the catalina.out file and remove all the catalina logs older than 15 days.
It should be better to have a log4j.properties with proper settings for the rotation and removal of the old log files, though.
Updated by Andrea Dell'Amico almost 9 years ago
- Status changed from Feedback to Closed
The startup script is working.
Actions