Skip to content

Commit ec6c456

Browse files
committed
remove mongo and start ntp
(added in 0.4, but not in 0.3.9)
1 parent 866a0f4 commit ec6c456

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/deploy/NVA_build/upgrade_wrapper.sh

+8
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,17 @@ function post_upgrade {
202202

203203
fi
204204

205+
if [ -f "/etc/init.d/mongod" ]
206+
then
207+
deploy_log "removed mongod service (supervised by supervisord)"
208+
rm -f /etc/init.d/mongod
209+
fi
210+
205211
# temporary - adding NTP package
206212

207213
yum install -y ntp
214+
sudo /sbin/chkconfig ntpd on 2345
215+
sudo /etc/init.d/ntpd start
208216

209217

210218
rm -f /tmp/*.tar.gz

0 commit comments

Comments
 (0)