File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#
33# /usr/bin/iris_ctl -- Script for initializing and updating IRIS
44#
5- # Copyright (C) 2012-2025 Minnesota Department of Transportation
5+ # Copyright (C) 2012-2026 Minnesota Department of Transportation
66#
77# This program is free software; you can redistribute it and/or modify
88# it under the terms of the GNU General Public License as published by
@@ -94,10 +94,12 @@ function create_tms_database() {
9494 su --login postgres -c " $create_db "
9595}
9696
97- function configure_selinux () {
98- echo " Configuring SELinux for nginx"
97+ function configure_nginx () {
98+ echo " Configuring nginx"
9999 semanage port -a -t http_port_t -p tcp 3030
100100 setsebool -P httpd_can_network_connect true
101+ mkdir /var/cache/nginx/wyrmcast-iris
102+ chown nginx:nginx /var/cache/nginx/wyrmcast-iris
101103}
102104
103105function configure_firewall() {
@@ -144,7 +146,7 @@ case "$1" in
144146 init_db
145147 create_tms_user
146148 create_tms_database
147- configure_selinux
149+ configure_nginx
148150 configure_firewall
149151 configure_services
150152 create_links
You can’t perform that action at this time.
0 commit comments