Note: Rocketbox has been discontinued. Rocketbox is a wrapper init for Busybox based Linux distributions. Rocketbox currently has three main components: rocketbox-init, rocketbox-service, and rocketbox-shutdown. It also makes use of /etc/inittab.
To install Rocketbox on a Busybox-based Linux system, you must follow these instructions as root:
- Copy over rocketbox-init, rocketbox-shutdown, and rocketbox-service to /etc.
- Replace /init via soft linking to /etc/rocketbox-init:
ln -s /etc/rocketbox-init /init
- Modify /etc/inittab so that on shutdown and reboot, /etc/rocketbox-shutdown and /sbin/init are called respectively(see sample /etc/inittab included).
- Reboot.
Rocketbox-service is a simple wrapper around Busybox's own runit-like service management suite. With it, you can easily add, remove, start, list, and stop services. See rocketbox-service -h
for details.
- Add a wrapper to manage service logs.