2017-09-21 10:49:37 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
|
|
|
# Copyright (C) 2013 - 2017, The pgAdmin Development Team
|
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
export PGADMIN_SETUP_EMAIL=${PGADMIN_DEFAULT_EMAIL}
|
|
|
|
export PGADMIN_SETUP_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
|
|
|
|
|
2017-10-12 04:12:55 -05:00
|
|
|
j2 /templates/pgadmin4.conf.j2 > /etc/httpd/conf.d/pgadmin4.conf
|
|
|
|
|
2017-09-21 10:49:37 -05:00
|
|
|
/usr/sbin/httpd -D FOREGROUND
|