Skip to content

Instantly share code, notes, and snippets.

@pkpinto
Created July 23, 2015 10:12
Show Gist options
  • Save pkpinto/f1724e7d18340d6bfb30 to your computer and use it in GitHub Desktop.
Save pkpinto/f1724e7d18340d6bfb30 to your computer and use it in GitHub Desktop.
upstart conf file to start iPython Notebook on boot
description "IPython Notebook"
start on runlevel [2345]
stop on runlevel [016]
respawn limit 10 5
setuid pdasi_01
chdir /local/home/pdasi_01/Projects
script
exec ipython notebook --profile=nbserver --ipython-dir=/local/home/pdasi_01/.ipython
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment