Support for Debian, Raspbian, ulimit settings, some fixes