openstudio-aws 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/openstudio/aws/version.rb +1 -1
- data/lib/openstudio/lib/server_script.sh +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 070646d331e2445c059e99d281b5c851a93201fb
|
|
4
|
+
data.tar.gz: 0054a951601f50998a0a236013cb39c371cc8f6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5190243a37d12371a2db1eaa048c47b3fdc168b3716b62b6d10f531012a9c482ff8b7c3283c03d05d94952706c5140ed643515612eb2b14ca8e0230d3597c667
|
|
7
|
+
data.tar.gz: 4118a402e91f1a7d0ad9f8022644a2c2752f0fd8a97c54320a7f42e89eb4d0b15fb9e4aa2a158365a41d756ca5239dabd2333717b0631651ef79a25446e8ea04
|
|
@@ -26,7 +26,6 @@ sudo service apache2 stop
|
|
|
26
26
|
sudo service mongodb stop
|
|
27
27
|
|
|
28
28
|
# remove mongo db & add it back
|
|
29
|
-
sudo rm -rf /mnt/mongodb/data
|
|
30
29
|
sudo mkdir -p /mnt/mongodb/data
|
|
31
30
|
sudo chown mongodb:nogroup /mnt/mongodb/data
|
|
32
31
|
sudo rm -rf /var/lib/mongodb
|
|
@@ -34,8 +33,8 @@ sudo rm -rf /var/lib/mongodb
|
|
|
34
33
|
# restart mongo
|
|
35
34
|
sudo service mongodb start
|
|
36
35
|
# delay the continuation because mongo is a forked process and when it initializes
|
|
37
|
-
# it has to create the preallocated journal files (takes ~
|
|
38
|
-
sleep
|
|
36
|
+
# it has to create the preallocated journal files (takes ~ 90 seconds on a slower system)
|
|
37
|
+
sleep 2m
|
|
39
38
|
|
|
40
39
|
# restart the rails application
|
|
41
40
|
sudo service apache2 stop
|