functions.sh: don't restart docker if limits are already set