Skip to content

Instantly share code, notes, and snippets.

View qodot's full-sized avatar

qodot qodot

View GitHub Profile
@samuel
samuel / supervisor-errmail.py
Created December 17, 2010 02:50
Supervisor event listener that emails on a proces writing to stderr
#!/usr/bin/env python
import os
import smtplib
import sys
import time
from optparse import OptionParser
from supervisor import childutils