Linux self-starting script control command update-rc.d

Source: Internet
Author: User
Linux self-starting script control command update-rcd1 through sysv-rc-conf to manage uninstalled, the following command installation: sudoapt-getinstallsysv-rc-conf use the following: sudosysv-rc-conf2Linux self-starting Script Control Command update-rcd previously I am straight Linux self-starting script control command update-rc.d 1. run the following command to install sudo apt-get install sysv-rc-conf: sudo sysv-rc-conf 2. linux self-starting script control command update-rc.d I used to go directly to/etc/rcX. the self-starting service is stopped by using SXXservicename or KXXservicename in the d Directory. However, two useful commands are found, instead of one rcx. d to the operation 1. update-rc.d // remove apache2 boot auto start update-rc.d-f apache2 remove // add apache2 boot auto start update-rc.d apache2 start 20 3 4 5. this command is followed by a space (.), a link named S20apache2 is generated in rc3.d, rc4.d, and rc5.d. invoke-rc.d // same as invoke-rc.d apache2 stop invoke-rc.d apache2 start can be learned through man more: NAME update-rc.d-install and remove System-V style init script links SYNOPSIS update-rc.d [-n] [-f] B name remove update-rc.d [-n] B name defaults [NN | SS KK] update-rc.d [-n] name start | stop r nn runlevel [runlevel]... start | stop r nn runlevel [runlevel] ...... update-rc.d [-n] B name disable | enable [S | 2 | 3 | 4 | 5]
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.