Simple-app-container is a project mainly written in Ruby, it's free.
A simple architecture for bootstrapping a container for deploying a web app that can manage its own crontab, services, and monit
An architecture for bootstrapping, sandboxing, and deploying applications.
This project consists of the organizational architecture, and the capistrano implementation.
A project organized with this architecture is sandboxed in its own unix security cocoon yet can still restart itself (ie hup apache), manage its own services (via runit), and monitor its health (via monit).
Tasks to bootstrap an "application" user container:
ACCOUNT & PERMISSIONS
RUNIT
SUDO
ANYTHING ELSE?
Applications can now manage themselves: