Created
January 28, 2015 14:39
-
-
Save mtbdeano/dd0b31f44aef71e56d97 to your computer and use it in GitHub Desktop.
ubuntu 14.04 IPython upstart script
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
description "IPython server, after installing ipython and dependencies into /home/ubuntu/.ipython, setup a system daemon to run" | |
pre-start script | |
export HOME=/home/ubuntu | |
end script | |
script | |
exec sudo /usr/local/bin/ipython notebook --ipython-dir=/home/ubuntu/.ipython --profile=notebook --pylab=inline --no-browser | |
end script | |
start on filesystem and net-device-up IFACE!=lo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment