Hi Kevin,
The sleep did the trick. I now can stop Zimbra without it exiting with a 1 and my backup worked last night.
I changed the sleep position thought.
I added the 5 seconds sleep ouside of the for instead of inside so it does not do it three times like it was in my first attempt :
so I now have,
stop)
for i in $SCRIPTS; do
/opt/zimbra/bin/$i stop
done
sleep 5
;;
instead of,
stop)
for i in $SCRIPTS; do
/opt/zimbra/bin/$i stop
sleep5
done
;;
and it still fixed my problem.
I'll fill a bug later on today.
Thanx for your hints!
Jonathan |