1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Update /contrib OS/X startup files, and move to a separate OS/X

directory.

Mark Cotner and David Fetter
This commit is contained in:
Bruce Momjian
2007-05-30 18:10:38 +00:00
parent 44af16f6b7
commit 87a9473276
4 changed files with 21 additions and 5 deletions

View File

@ -0,0 +1,10 @@
sudo sh -c 'echo "POSTGRESQL=-YES-" >> /etc/hostconfig'
sudo mkdir /Library/StartupItems/PostgreSQL
sudo cp PostgreSQL /Library/StartupItems/PostgreSQL
sudo cp StartupParameters.plist /Library/StartupItems/PostgreSQL
if [ -e /Library/StartupItems/PostgreSQL/PostgreSQL ]
then
echo "Startup Item Installed Successfully . . . "
echo "Starting PostgreSQL Server . . . "
SystemStarter restart PostgreSQL
fi