Add ulimit support to init.d script