Run Postgres 9.1 on MacOS Lion as Daemon

To start a new Postgres version as Daemon you need to follow these commands. For first, unload current version (if available): sudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plistsudo launchctl unload /Library/LaunchDaemons/org.postgresql.dbms.plist Edit the org.postgresql.dbms.plist (if not available, create a new one): <?xml version="1.0" encoding="UTF-8"?>