Also fixed a typo in the standalone mode documentation.
Heavily inspired by Hadoop cluster scripts ;-)