postgres
This commit is contained in:
		
							parent
							
								
									143b731147
								
							
						
					
					
						commit
						981a88b9b2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -24,7 +24,7 @@ case "$1" in | ||||||
| 		  install -v -dm700 /srv/pgsql/data | 		  install -v -dm700 /srv/pgsql/data | ||||||
| 		  install -v -dm755 /run/postgresql | 		  install -v -dm755 /run/postgresql | ||||||
| 		  chown -Rv postgres:postgres /srv/pgsql /run/postgresql | 		  chown -Rv postgres:postgres /srv/pgsql /run/postgresql | ||||||
| 		  su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data' | 		  su - postgres -c '/usr/bin/initdb -E UTF8 -D /srv/pgsql/data' | ||||||
| 	  fi | 	  fi | ||||||
|       su - postgres -c '/usr/bin/pg_ctl start -W -D /srv/pgsql/data \ |       su - postgres -c '/usr/bin/pg_ctl start -W -D /srv/pgsql/data \ | ||||||
|                          -l /srv/pgsql/data/logfile -o "-i" ' |                          -l /srv/pgsql/data/logfile -o "-i" ' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue