You must set the JAMES_ACCEPTED_RELAYS token with the TeamForge
domain name, Git domain name and Git Server's host name if you want Git notification emails
to be sent to the TeamForge Application Server.
See
JAMES_ACCEPTED_RELAYS
for more information.
-
Log on to the TeamForge Application Server and do this.
-
Stop the collabnet service.
- /etc/init.d/collabnet stop
-
Edit the site-options.conf file. Update the JAMES_ACCEPTED_RELAYS site-options
token with TeamForge domain name, Git domain name and Git Server's host
name.
- vi /opt/collabnet/teamforge/etc/site-options.conf
JAMES_ACCEPTED_RELAYS=127.0.0.1,<APP_DOMAIN_NAME>,<GIT_DOMAIN_NAME>,<GIT_SERVER_HOSTNAME>
-
Recreate the runtime environment.
- /opt/collabnet/teamforge/installer/install.sh
-
Start the collabnet service.
- /etc/init.d/collabnet start
-
Log on to the Git Server and do this.
-
Copy the site-options.conf file from the TeamForge
Application Server to the Git Server.
-
Set the GERRIT_SMTP_SERVER token with the TeamForge
domain name.
- GERRIT_SMTP_SERVER=<APP_DOMAIN_NAME>
-
Recreate the runtime environment.
- /opt/collabnet/teamforge/installer/install.sh
-
Restart Gerrit.
- /etc/init.d/collabnet stop
gerrit
- /etc/init.d/collabnet start
gerrit