Auto-start using SysVinit scripts
For Linux and Solaris 9 environments you may have MFT Server Service start up automatically during system startup by creating a service configuration file for MFT Server Service and placing it in your /etc/init.d
directory. This same configuration file will be used for gracefully stopping the MFT Server Service when shutting down the system. A sample service configuration file, server, has been placed in the init.d
directory of your MFT Server installation.
Installing the service configuration file
-
As
root
user, copy theserver
sample service configuration file to your/etc/init.d
directory. -
Grant execute permissions to this file using the command
chmod 755 server
-
Using a text editor, change the value of the INSTALL_DIR variable to the absolute path of your MFT Server installation directory. The default value for the
INSTALL_DIR
variable is/opt/mft_server
which is consistent with Linux RPM installations. Your installation directory may vary. -
Set this script to be executed automatically upon system startup using the following command(s):
Linux
/sbin/chkconfig --add server
If you are running under Ubuntu environment then thechkconfig
command is not available. Instead you must run the following command as root user from /etc/init.d directory.update-rc.d server defaults
Solaris 9
ln /etc/init.d/jcsape /etc/rc3.d/Sxxserver
ln /etc/init.d/jcsape /etc/rc0.d/Kxxserver
Starting the service
From the
/etc/init.d
directory and asroot
user run the command./server start
to start the service.
Stopping the service
From the
/etc/init.d
directory and asroot
user run the command./server stop
to stop the service.
Restarting the service
From the
/etc/init.d
directory and asroot
user run the command./server restart
to restart the service.