SQL for testing events
Simple init.d script for Linux