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
]
7 echo "Startup Item Installed Successfully . . . "
8 echo "Starting PostgreSQL Server . . . "
9 SystemStarter restart PostgreSQL