Debiansarge under the update-rc.d details-Linux release version of the technology-Debian information, the following is the details to read. The update-rc.d command is used to automatically upgrade the System V type initialization script, simply put, what is what you want the System to run during boot initialization, if you want to stop the instance when it is shut down or restarted, you can use it to help you set it. The connection of these scripts is located at/etc/rcn. d/LnName, and the corresponding Script is located at/etc/init. d/Script-name.
1. Set the startup sequence and running-level startup items:
Update-rc.d <service> start <order> <runlevels>
2. Set to stop at the specified running level in the specified order:
Update-rc.d <service> stop <order> <runlevels>
3. Delete the specified startup Item from all running levels:
Update-rc.d-f <script-name> remove
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