Instead of manually starting a server, you can install a service that automatically
starts the server on a Linux OS. Read the steps below to learn how to:
- Install the service (as root)
- Verify that the installation was successful
- Start the service (as the domain user specified during installation)
- Verify that the service has started
The Single Server must be installed and working properly before taking the steps
described below.
Steps
As root:
-
Open a terminal from within <install>/utils/service/Linux.
-
Type and enter the following command.
sh ebi_service_install.sh <user> <install_path>
<node_name>
As a result, the command:
- Creates the service with the name: clarifyservice_standard
- Copies the service script to the /etc/rc.d/init.d directory with
the node name appended to the script name.
- Populates the supplied values into the script.
- Installs the service.
Note: Do not attempt to start the service as
root.
-
To verify the service has successfully installed, type in the command
chkconfig --list You should see
clarifyservice_standard.service in the list..
-
Logout of root and use the command: sudo service <service
name> stop This ensures that you are starting the server from a clean stop
status.
-
To start the service, you have two options:
- Reboot the system.
- Use service <service name> start to manually
start the service.
-
To verify the clarifyservice_standard.service has successfully started,
type in the command systemctl –t service. You should
see the service as loaded, active, and running.