Created
August 27, 2013 01:27
Revisions
-
tinkerbotfoo created this gist
Aug 27, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ # IPython Notebook Launcher # Adopted from the Rstudio upstart script # # # upstart docs: http://upstart.ubuntu.com/getting-started.html # http://manpages.ubuntu.com/manpages/karmic/man5/init.5.html # # (note that embedding a script and pre-start and post-start actions are supported) # start on runlevel [2345] stop on runlevel [!2345] expect fork respawn pre-start script # Make sure our AppArmor profile is loaded on boot # (see: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/577445) # /usr/lib/rstudio-server/extras/apparmor/apparmor-profile-load rstudio-server end script # unlimited size for core dumps limit core unlimited unlimited # run the server #exec start-stop-daemon --start -c vagrant --exec /usr/bin/ipython notebook exec /usr/bin/ipython notebook