This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# to run : ./deploy_mk.sh
|
||||
# This will backup the current contents of /opt/MarketData/MarketData to /opt/MarketData/MarketData/MarketData_Rollback
|
||||
# and deploy the mk binary to /opt/MarketData/MarketData
|
||||
# 1) Stop the cron service
|
||||
# 2) Wait for any running mk to complete
|
||||
# 3) Perform the backup
|
||||
# 4) Perform the deployment
|
||||
|
||||
# set xtrace if you want to see trace level
|
||||
#set -o xtrace
|
||||
|
||||
sudo service cron stop
|
||||
|
||||
Reference in New Issue
Block a user