CAMS on its own initiative to participate in the relevant service installation process. In the final installation process will prompt the user whether to start the service, so that the service can take effect, it is important to note that a service does not mean that the system during the boot process is added to the service, will be self-executing, can only be used for service commands to start and stop services.
1. Value-Added services
The steps for the service are:
A. Copy the service's script file into the/ETC/RC.D/INIT.D directory to ensure its status is operational
B. Use the Chkconfig command to join the service to the list of services Chkconfig--add CAMSD (note there are two-)
Once the service is added, the service can start/stop using the
2. Delete a service
Suppose you want to delete a service to change the add of the above command to Del
Chkconfig--del CAMSD (note there are two-)
3. Set up the service to perform its own initiative
Linux performs 7 levels of execution using 0-6 to indicate a console interface execution level of 3, a graphical interface execution level of 5, to make a service self-executing at system startup, and to use Chkconfig to add the service to the corresponding level of self-initiated services list.
Chkconfig--level + camsd on (note two-)
The above command joins the CAMSD service to the list of self-starting services at level 3 5. The following command removes the service camsd from the list of self-starting services at level 3 5:
Chkconfig--level camsd Off (note that there are two-)
Assume that you need to view the service from the outset, such as status information, the following command:
Chkconfig--list CAMSD (note that there are two-)
Linux value-added services are removed, self-initiated and nationally executed