Skip to content

Instantly share code, notes, and snippets.

@Sundrique
Last active August 15, 2016 12:32
Show Gist options
  • Select an option

  • Save Sundrique/6e55772def21f4aa4369 to your computer and use it in GitHub Desktop.

Select an option

Save Sundrique/6e55772def21f4aa4369 to your computer and use it in GitHub Desktop.
Jupyter notebook Upstart config
description "Jupyter notebook"
start on runlevel [2345]
stop on runlevel [016]
chdir /home/ubuntu/notebooks
env PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
env THEANO_FLAGS='floatX=float32,device=gpu'
exec /usr/local/bin/jupyter notebook --ip=0.0.0.0 --port=80 --no-browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment