because the rc-sysinit start on condition is as follows: Start on filesystem and net-device-up Iface=lo Task Rc-sysinit calls Telinit. The Telinit task emits a runlevel event that triggers execution/etc/init/rc.conf. Rc.conf executes all the scripts under the/etc/rc$.d/directory, and Sysvinit is very similar, and the reader can refer to the first part of this article for a description. Things to note when developing a program As a program developer, when writing system services, you need to und
requirements can be managed by upstart.Rule one, the number of derivations to be declared.Many Linux back-office services have turned themselves into a background service program by deriving two of times of skill. If you write a service that also uses this technique, you must explicitly let upstart's maintainers know this through documentation or some other way, which will affect upstart's expect stanza, which we have described in detail earlier in t
Three methods for making the services under the Upstart mechanism automatically start and expire at system startup + 1. upstart Mechanism
/********************************************************************** Author : Samson* Date : 02/04/2015* Test platform:* 3.13.0-24-generic* GNU bash, 4.3.11(1)-release * *******************************************************************/
Upstart's official server modi
How to add Upstart event-type tasks to the system under the upstart Mechanism
/********************************************************************** Author : Samson* Date : 11/15/2014* Test platform:* 3.13.0-24-generic* GNU bash, 4.3.11(1)-release * *******************************************************************/Currently, the system startup mechanism used by LinuxMint is based on ubuntu's
Zi Gong asked for benevolence. Zi Yue: "工欲善其事, its prerequisite." The house is the state, the sage of his doctor, the benevolence of his friends. --Confucius (Spring and Autumn), "The Analects and Weiling"
"工欲善其事, its prerequisite"Master a technology, know its development process is very important, know it, and then know the reason why. To be able to achieve and why the two know, need to understand the entire development process. As we did when we were young, we needed to understa
Analysis of Linux init system initialization, Part 1: UpStartUpstart Introduction
If the Linux release version you are using is Ubuntu, you may find that the/etc/inittab file cannot be found on your computer, this is because Ubuntu uses a new init system called upstart.
Related Articles:
Analysis of Linux init system initialization, Part 1: sysvinit
Analysis of Linux init system initialization, Part 1: UpStart
Article Title: Upstart: an event-based startup process of Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Translator: Wang Xu (gnawux at gmail.com)
Although the translator is a hardcore Debian fan, he has been paying attention to upstart for a long time. In the o
modification. Systemd has been incorporated into many software sources of Linux releases. systora 15 and later versions use systemd as the default INIT program in Linux. (In the feature of Fedora 14, systemd is used as a technical preview. Replace upstart in fedora 15 as the default manager. For more information, see the fedora official documentation and click the link)
SysvinitA daemon (sysvinit pack
Start by understanding the following changes to the Ubuntu runlevel (init) corresponding tool history:1, Ubuntu 6.10 and previous versions use Sysvinit.2, Ubuntu 14.10 and the previous version of the use of upstart but still keep sysvinit coexist.Https://wiki.ubuntu.com/UpstartHttps://help.ubuntu.com/community/UpstartHowto3, Ubuntu 15.04 started using SYSTEMD, but you can choose to use the SYSTEMD or upstart
After the system is upgraded from Ubuntu 9.04 to 9.10, the console of the system cannot be used, and the vbox must execute 'sudo/etc/init after each system restart. d/vboxdrv setup re-compile the kernel. As there is no inconvenience in other aspects, we can endure these two small problems.
Recently, if you want to install the official NV driver and disable X for installation, you have to deal with this problem.
The first thing that comes to mind is the problem that occurs during the startup proc
Brief introduction
Recently do Linux course design (kernel cropping and file system customization), selected ubuntu10.10 as the platform for the experiment. Different Linux distributions, the user state initialization mechanism is different, Ubuntu since the 6.10 version of the use of newer upstart mechanism for system initialization.
Upstart is an event-driven service startup mechanism that enables multipl
Today, I saw a microblog saying that the biggest change in the RHEL7 beta system may be replacing upstart with systemd, so I have to say goodbye to the chkconfig command.
Suddenly we were confused about systemV, upstart, and systemd. Previously, I always thought that upstart was in the Ubuntu system. Didn't RH systems use sysV? Should RHEL6 start to use
Three methods to make the services under the Upstart mechanism automatically start and fail at system startup + 1
/********************************************************************* * Author : Samson * Date : 02/04/2015 * Test platform: * 3.13.0-24-generic * GNU bash, 4.3.11(1)-release * *******************************************************************/
Upstart's official server modification method illustrates three
For a long time, most Linux distributions have been using the init system introduced by UNIX System V. Init is generated by the kernel itself. The task is to start the remaining part of the system, generate and monitor all other processes, and check whether it is stopped or frozen. Although System V init has been running well in the past, it is a little late. This is why Ubuntu 6.10 (edgy EFT) uses upstart to replace the aging init system.
The goal
Ubuntu starts with upstart () in lieu of the original sysvinit for the management of the service process starting from 6.10. RHEL (CentOS) has also switched from version 6 to upstart instead of the previous INIT.D/RCX.D linear start-up method.The Sysvinit daemon (Sysvinit package) is a runlevel-based system that uses RunLevel (single-user, multi-user, and more) and links (located in/etc/rc. The D directory,
applications like system services! The following describes how to encapsulate nodejs applications as system services through upstart.
2. encapsulate the application as an upstart task script
Copy codeThe Code is as follows:~ Vi/etc/init/nodejs-moive.conf
Description "node. js jb51.net"
Start on startupStop on shutdown
ScriptExport HOME = "/root/deploy/movie"Echo $>/var/run/moiveme. pidExport NODE_ENV = pro
As an excellent engineer or architect, we must have a very good understanding and mastery of Linux systems. Here is an introduction to ordering a lot of people confused Linux self-booting.At present, there are 3 kinds of initialization system of Linux, according to the time of occurrence is init, upstart and SYSTEMD.Introduction to 3 Systems 1. InitInit is Sysvinit, which is the result of System V and is extended to other UNIX systems. Common init com
From Ubuntu 10.04, upstart is introduced into the processes and services started by the management system. So if you want to add or Disable Automatic startup of some service processes, the previous approach (such as using update-rc.d commands) will not work. If you run this command to stop MySQL, you will get the following information:
$>sudo /etc/init.d/mysql stopRather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. s
~ kill-9 21333
Direct and violent settlement. If you can start and turn off Nodejs applications like system services, how nice! The following is accomplished by upstart to encapsulate the Nodejs application as a system service.
Second, the application is encapsulated as a upstart task script
Copy Code code as follows:
~ vi/etc/init/nodejs-moive.conf
Description "Node.js jb51.n
Http://www.ibm.com/developerworks/cn/views/linux/libraryview.jsp?sort_by=show_abstract=trueshow_all= search_flag=contentarea_by=linuxsearch_by= Analysis of +linux+ initialization +init+ system topic_by=-1type_by= all categories ibm-search= SearchBrief analysis of Linux initialization init system, part 1th: sysvinitIn recent years, the INIT process of Linux system has undergone two major evolution, the traditional sysvinit has faded out of the historical stage, the new init system
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.