Ubuntu从Edgy起就开始用Upstart了,放弃了以前的那个/etc/inittab
,从官方的文档上看好像是upstart比以前的更快!下面是从官方的文档中copy过来的!反正偶看了之后还是有一点帮助的吧!~
Getting Started
Once you’ve downloaded and unpacked upstart, you will need to configure the source tree, build and install it. The main question here is deciding whether or not you want to take the plunge and replace sysvinit
immediately, or whether you want to test first.
The brave will want to configure the source such that the executable parts are placed on the root filesystem and the data parts (man pages, etc.) are in the usual places.
./configure --prefix=/usr --exec-prefix=/ --sysconfdir=/etc --enable-compat=sysv
Everyone else will prefer to install it under an alternate prefix like /opt/upstart
. You will need to boot with an alternate kernel command-line such as init=/opt/upstart/sbin/init
.
./configure --prefix=/opt/upstart --sysconfdir=/etc --enable-compat=sysv
Continue reading →