Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install binary packages on FreeBSD. #280

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/postgresql
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ elif [ X"${DISTRO}" == X'FREEBSD' ]; then
export SYS_USER_PGSQL='postgres'
export SYS_GROUP_PGSQL='postgres'
export PGSQL_USER_HOMEDIR='/var/db/postgres'
export PGSQL_VERSION='15'
export PGSQL_VERSION='16'

export PGSQL_DATA_DIR="${PGSQL_USER_HOMEDIR}/data${PGSQL_VERSION}"
export PGSQL_CONF_POSTGRESQL="${PGSQL_DATA_DIR}/postgresql.conf"
Expand Down
5 changes: 5 additions & 0 deletions functions/nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ nginx_config()
perl -pi -e 's#PH_HTTPD_CONF_DIR_ENABLED_SITES#$ENV{HTTPD_CONF_DIR_ENABLED_SITES}#g' ${NGINX_CONF}
perl -pi -e 's#PH_HTTPD_CONF_DIR_ENABLED_CONF#$ENV{HTTPD_CONF_DIR_ENABLED_CONF}#g' ${NGINX_CONF}

if [[ "${DISTRO}" == 'OpenBSD' ]] || [[ "${DISTRO}" == 'FreeBSD' ]]; then
perl -pi -e 's/#http2 on;/http2 on;/g' ${NGINX_CONF}
perl -pi -e 's/ http2;/;/g' ${NGINX_CONF_SITE_DEFAULT_SSL}
fi

#
# conf-available/*.conf
#
Expand Down
Loading