Last active
January 17, 2020 08:51
-
-
Save ranaldmiao/56ed5747e6a51b44b2137fc2c5f3fe69 to your computer and use it in GitHub Desktop.
Script to start CMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
START_CONTEST=ALL | |
START_RANKING=true # false to not start RankingWebServer, true to start | |
# Start cmsLogService | |
echo "Starting cmsLogService" | |
nohup cmsLogService > cms.log 2>&1 & | |
# Start cmsRankingServer | |
if [ "$START_RANKING" = true ]; then | |
echo "Starting cmsRankingWebServer" | |
nohup cmsRankingWebServer > cmsRankingWebServer.log 2>&1 & | |
fi | |
echo "Starting cmsResourceService -a $START_CONTEST" | |
nohup cmsResourceService -a "$START_CONTEST" > cmsResourceService.og 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment