Debian-Linux Release Technology-Debian information-self-starting settings under Debian. The following is a detailed description. Today, some new people asked how rc. local was not found in debian, and they did not know how to set their scripts to start at startup. I found that some Debian and FreeBSD configurations were also messy.
Record here:
1. You can create the rc. local file in/etc and add your own script to it. Boot can start
2, with update-rc.d command, usage can man a bit, very simple
3. Edit the/etc/init. d/bootmisc. sh file with the same syntax as rc. local. You can paste the original rc. local content directly.
4. Another method is to directly create a script Link under the/etc/rc *. d/directory and start it at different running levels. I have not tried this.
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