Merge pull request #5 from diddledan/master

spaces in argument list
OS X hack for readlink -f
Create /etc/init.d if necessary
Mac OSX compatibility (readlink -f issue)
Merge pull request #6 from tommarshall/master

Mac OSX compatibility (readlink -f issue)
Fix to the Mac fix, to make it also work on Linux