Installation and Upgrade Guide > Installing TDV, Studio, and Drivers > Installing on UNIX > Setting the TDV Server to Start Automatically on UNIX
 
Setting the TDV Server to Start Automatically on UNIX
If at any time after installing the software, you restart the UNIX installation machine, Server and the metadata repository do NOT start automatically (unlike when they start automatically after a successful installation of the software).
To configure the TDV service files cis.repository and cis.server
1. Log into the installation machine as root.
2. Change the working directory to <TDV_install_dir>/bin.
3. Run the following command as the root user:
cis_install_services.sh
 
This command prompts for a username, and other details to install and configure the service files cis.repository and cis.server.
4. Enter the name of the user to start TDV (not the root user) and the other information requested.
The script then installs cis.repository and cis.server into an appropriate location on the installation machine and configures them. The location will be printed on your screen when the configuration is successful, so make note of this location, because you need this to perform verification of the service files.
Note: Do not run the cis.repository or cis.server scripts in the <TDV_install_dir>/bin/ directory. These are template files used by cis_install_services.sh only and are not meant to be run.
Running cis_install_services.sh does not interrupt any repository or server processes that are running, but prepares the machine for automatically starting those processes during restart of the UNIX-based computer.
5. Run the following commands as the root user:
cd <init_directory>
chmod 550 cis.repository
chmod 550 cis.server
chmod 550 cis.cache
The value of init_directory depends on the operating system:
Linux: /etc/rc.d/init.d or /etc/rc.d
AIX: /etc/rc.d/init.d
To verify the TDV service files configuration
6. Go to the location noted previously from running cis_install_services.sh.
Note: The console output of the script cis_install_services.sh displays the exact location. Choose the location for your operating system.
7. Enter these commands:
./cis.repository restart
./cis.server restart
./cis.cache restart
 
Now if the machine is rebooted, the monitor, server, and repository processes should automatically start once the machine is ready to go.