PostgreSQL - Enable/Disable autostart on macOS
Enable PostgreSQL autostart#
To enable a PostgreSQL instance from starting when you turn on your mac run the following command:
Disable PostgreSQL autostart#
To disable a PostgreSQL instance from starting when you turn on your mac run the following command:
note
The unload -w should add a <Disabled><true/> key to the plist file. If for some reason that doesn't work, manually add the Disabled key.