Add ulimit support to init.d script

I could not get the init.d script to respect ulimit settings controlled by the ulimit cookbook. init.d scripts seem to have their own convention for that. This PR adds that functionality.