~upstart-devel/upstart/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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.

It is intended to be suitable for deployment in all Linux
distributions as a replacement for the venerable sysvinit package.

Feature highlights:

 * 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.


Dependencies
------------

Since Upstart's primary usage will be on distributions that utilise
the user-space event mechanisms only found in recent Linux kernel
versions, it has been developed to take advantage of other operating
system and language features that may not be available in older
releases of the kernel, C library or compiler.

Upstart uses the libnih library to provide a standard set of utility
functions used throughout the source.

The recommended versions are:

	* Linux 2.6.24 or later
	* GCC 4.1 or later
	* GNU C Library (glibc) 2.4 or later
	* libnih 1.0.2 or later

Communication with other processes utilises the D-Bus messaging
system, abstracted through the libnih-dbus library and with bindings
automatically generated by nih-dbus-tool.

The recommended versions are:

	* pkg-config 0.22 or later
	* libnih-dbus 1.0.1 or later
	* nih-dbus-tool 1.0.1 or later
	* D-Bus 1.2.16 or later

These should all be available from the current release of any modern
Linux distribution.

For detailed compilation and installation instructions see the INSTALL
file.  If you've checked Upstart out from revision control, or want to
hack on Upstart, see the HACKING file.