A rube-goldberg style solution for restarting Apache when it gets killed my the OOM-Killer and logging the results for further analysis
#!/usr/bin/env bash
#===============================================================================
#
# FILE: apache-restart.sh
# USAGE:
# DESCRIPTION: Watches syslog for OOM message, restarts Apache if killed
# NOTES: The downside to this script is that it'll fire for the entire