iPython notebook with Ubuntu Upstart
For self reference :)
# description 'ipython notebook'
start on stopped rc RUNLEVEL=[2345] and (
non-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt)
stop on runlevel [!2345]
respawn
exec bash -c 'source <VIRTUALENV-DIRECTORY>/bin/activate; /usr/local/bin/jupyter notebook --port 8888 --config <JUPYTER-NOTEBOOK-CONFIG-FILE>'