The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

20 wiersze
869 B

  1. #!/bin/sh
  2. #
  3. # Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
  4. # adapted from https://stackoverflow.com/q/11092358
  5. #
  6. # This script is run by Supervisor to start PostgreSQL in foreground mode.
  7. #
  8. # WARNING: If you have more than one PostgreSQL version installed, there could be problems.
  9. # This script assumes you have only one version of PostgreSQL installed.
  10. #
  11. if [ -d /var/run/postgresql ]; then
  12. chmod 2775 /var/run/postgresql
  13. else
  14. install -d -m 2775 -o postgres -g postgres /var/run/postgresql
  15. fi
  16. exec su postgres -c "$(find $(find /usr/lib/postgresql -type d -name bin | head -1) -type f -name postgres | head -1) \
  17. -D $(find /usr/lib/postgresql -type d -name main | head -1) \
  18. -c config_file=$(find /etc/postgresql -type d -name main | head -1)/postgresql.conf"