Start background writer during archive recovery. Background writer now performs
[PostgreSQL.git] / contrib / start-scripts / osx / install.sh
blobbbc5ee392651694e11fcc0017d8d700b192edff0
1 sudo sh -c 'echo "POSTGRESQL=-YES-" >> /etc/hostconfig'
2 sudo mkdir /Library/StartupItems/PostgreSQL
3 sudo cp PostgreSQL /Library/StartupItems/PostgreSQL
4 sudo cp StartupParameters.plist /Library/StartupItems/PostgreSQL
5 if [ -e /Library/StartupItems/PostgreSQL/PostgreSQL ]
6 then
7 echo "Startup Item Installed Successfully . . . "
8 echo "Starting PostgreSQL Server . . . "
9 SystemStarter restart PostgreSQL