mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| 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
 |