GC-4552: added certificates and shorter services restart times

This commit is contained in:
urihershgc 2015-12-07 16:25:09 +02:00
parent 5042b531a2
commit ecaaf01ac1
3 changed files with 4 additions and 2 deletions

View File

@ -12,5 +12,7 @@ rm -f $MONKEY_FOLDER/pip_requirements.txt
mv $MONKEY_FOLDER/ubuntu/* /etc/init/ mv $MONKEY_FOLDER/ubuntu/* /etc/init/
./create_certificate.sh
service monkey-island start service monkey-island start
service monkey-mongo start service monkey-mongo start

View File

@ -13,6 +13,6 @@ end script
post-stop script post-stop script
if [ -n $UPSTART_EVENTS ]; then if [ -n $UPSTART_EVENTS ]; then
exec sleep 15 exec sleep 2
fi fi
end script end script

View File

@ -13,6 +13,6 @@ end script
post-stop script post-stop script
if [ -n $UPSTART_EVENTS ]; then if [ -n $UPSTART_EVENTS ]; then
exec sleep 15 exec sleep 3
fi fi
end script end script