Customizing the Business Directory Server Startup Scripts on UNIX
The Business Directory installation provides a startup script for UNIX that you can customize for your own purposes; but to maintain customizations you might have made to this script across hotfix or patch updates, you must activate an environment variable.
Note: You can also use this functionality to add JRE VM arguments or run commands automatically before launching Business Directory.
The procedure below describes how to configure the startup script for UNIX.
To configure the Business Directory startup scripts for UNIX
1. Stop the Business Directory Server.
2. Navigate to the <bd_install_dir>/bd/conf directory.
cd <bd_install_dir>/bd/conf
3. Copy script_env.sh.sample to script_env.sh.
4. Open script_env.sh with a text editor and uncomment the last two lines:
# CIS_SERVER_VM_ARGS=
# export CIS_SERVER_VM_ARGS
5. Change the value of CIS_SERVER_VM_ARGS to include all the values in VM_ARGS from <bd_install_dir>/bin/bd_server.sh.
a. Retrieve the platform-specific value of VM_ARGS from <bd_install_dir>/bin/bd_server.sh. Locate the line for your platform:
b. Make sure you add double-quotes around the value specified for CIS_SERVER_VM_ARGS.
c. If you want to run an executable or command-line utility at this point, make sure the command returns control to bd_server.sh. If it does not, Business Directory does not start correctly.
Each command you add should be on a new line.
6. Start the Business Directory Server.
7. Check the end of the newest <bd_install_dir>/logs/cs_bd_server.out.<timestamp> file to ensure the script environment functionality is working.