File tree Expand file tree Collapse file tree 2 files changed +7
-24
lines changed
Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -41,4 +41,9 @@ sed -i'' "s|__USER__|$(id -un)|" ${OPENSHIFT_REPO_DIR}/perl/.htaccess
4141sed -i' ' " s|__GROUP__|$( groups | cut -d ' ' -f 1) |" ${OPENSHIFT_REPO_DIR} /perl/.htaccess
4242log_info " Finished perl template -- perl/.htaccess"
4343
44+ log_info " Building RT_SiteConfig"
45+ cp ${OPENSHIFT_REPO_DIR} /configs/RT_SiteConfig.pm ${OPENSHIFT_REPO_DIR} /../install-root/etc/
46+ sed -i' ' " s|__HOSTNAME__|${OPENSHIFT_APP_DNS} |" ${OPENSHIFT_REPO_DIR} /../install-root/etc/RT_SiteConfig.pm
47+ sed -i' ' " s|__REFERRERS__|${OPENSHIFT_APP_DNS} |" ${OPENSHIFT_REPO_DIR} /../install-root/etc/RT_SiteConfig.pm
48+ log_info " Finished Building RT_SiteConfig"
4449log_info " Build Finished"
Original file line number Diff line number Diff line change 1- # Any configuration directives you include here will override
2- # RT's default configuration file, RT_Config.pm
3- #
4- # To include a directive here, just copy the equivalent statement
5- # from RT_Config.pm and change the value. We've included a single
6- # sample value below.
7- #
8- # This file is actually a perl module, so you can include valid
9- # perl code, as well.
10- #
11- # The converse is also true, if this file isn't valid perl, you're
12- # going to run into trouble. To check your SiteConfig file, use
13- # this command:
14- #
15- # perl -c /path/to/your/etc/RT_SiteConfig.pm
16- #
17- # You must restart your webserver after making changes to this file.
18-
19- Set( $rtname , ' example.com' );
20-
21- # You must install Plugins on your own, this is only an example
22- # of the correct syntax to use when activating them.
23- # Plugin( "RT::Extension::QuickDelete" );
24- # Plugin( "RT::Extension::CommandByMail" );
1+ Set( $rtname , ' __HOSTNAME__' );
2+ Set( @ReferrerWhitelist , qw( __REFERRERS__) );
253
2641;
You can’t perform that action at this time.
0 commit comments