Created
October 24, 2015 00:41
-
-
Save kirk86/f422afcea9568f804aae to your computer and use it in GitHub Desktop.
ipython notebook upstart script for ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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