OS X install script: pick the next available uid/gid, use the variables at the top more consistently through the script
linux: teach the service code about initctl (upstart), and implement systemctl (systemd)