Skip to content

Instantly share code, notes, and snippets.

@kirk86
Created October 24, 2015 00:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirk86/f422afcea9568f804aae to your computer and use it in GitHub Desktop.
Save kirk86/f422afcea9568f804aae to your computer and use it in GitHub Desktop.
ipython notebook upstart script for ubuntu
# to be put to "/etc/init/"
description "ipython"
start on runlevel [2345]
stop on runlevel [016]
respawn limit 10 5
script
exec sudo -u randy ipython notebook --profile=nbserver --ipython-dir=/home/randy/.ipython/
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment