Unitech/pm2 — pull request #39 by jhurliman (2013-06-28 17:39:51+00:00)
Title: Require daemon to be run as root on OSX

The latest version of node-usage has support for OSX now, but it only works if the daemon is launched as root. This patch throws an error when Satan.launchDaemon() is called on OSX and node is not running as root, and adds better error handling throughout the codebase to make sure a helpful error message actually ends up on the user's screen.