Epoch Init System
Epoch Init System 是一个 Linux 的 init 系统,简化了配置和非侵入性的思维。在 Linux 2.6+ 系统上除了 libc 和 pthreads 外无需任何外部依赖。适合各种规模的 Linux 发行版,但更适合于小型的 Linux 系统。包括一个日志系统用来记录登陆事件,启动时启动设置主机名,自动安装虚拟文件系统等,支持 PID 文件,集成彩色的欢迎信息显示,支持自动服务重启。采用C语言开发并在Public Domain协议下授权。
The Epoch Init System is a small but powerful init system for Linux 2.6+.It requires a libc, (not glibc specific), a Linux kernel of 2.6 or greater,
a shell is recommended, and while it will function somewhat without it, /proc.It has very low memory usage, very small binary size, and is designed to be suitable for both full blown desktop and server systems as well as keeping minimalist and embedded distros heavily in mind. It is architecture and compiler independent, written in mostly ANSI C,and is designed with a philosophy in mind:
1. Features that aren't our business aren't our business.
2. Service tracking and management is the business of the init system
3. Be unintrusive and easily replaced without a reinstall of the OS.
4. Don't require any dependency libraries outside of libc.
5. Be small and efficient, but not so small as to be a poor choice for desktops and servers.
6. Be easily configured and tidy with our configuration.
7. If it's easy as well as non-costly to implement, and people wish they could do that, let them do that.

Features
Single or multiple configuration file setup, your choice.
Tracks processes with high accuracy, and supports PID files, PIDs, and commands as a method for stopping a service.
Uses numeric priority groups to determine startup order of services.
Simple, easy-to-follow, single threaded non-parallel design.
Can automatically restart dead services.
Supports user/group setting, working directory setting, environment variable setting, stderr/stdout redirection, and more.
Includes implementations of killall5 and wall, neither of which are mandatory.
All applets are symlinks to the central binary.
Power control functions restricted to users in the wheel/root group. (group zero).
Extensive service status and control commands for system administration.
Can kill stuck boot and shutdown jobs and continue booting or shutting down via CTRL-ALT-DEL.
Uses a simple custom IPC for applet communication with init.
最新版本:1.1
该版本修复了 PID 和 PID 文件等待超时解析是几分钟而不是几秒的问题,1.1 版本是安全的,但是关闭的时候如果服务不快速停止,可能会有比较长的延误。
项目主页:http://universe2.us/epoch.html