forked from p15670423/monkey
GC-4552: added certificates and shorter services restart times
This commit is contained in:
parent
5042b531a2
commit
ecaaf01ac1
|
@ -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
|
||||||
|
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue