初始化守护进程-Upstart
2011-03-03 10:43:32 阿炯

Upstart 是一个用以替换 /sbin/init 守护进程的软件,基于事件机制开发,可用来处理启动过程中的任务和服务启动。



Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

Feature

* Tasks and Services are started and stopped by events

* Events are generated as tasks and services are started and stopped

* Events may be received from any other process on the system

* Services may be respawned if they die unexpectedly

* Supervision and respawning of daemons which separate from their parent process

* Communication with the init daemon over D-Bus

最新版本:1.8
该版本现在可监控文件和目录,如果指定的文件或者目录创建、修改或者删除,Upstart 会启动一个相关的作业,举个例子:这意味着服务可在配置文件更改后自动重启。

官方主页:http://upstart.ubuntu.com/