Created
April 23, 2014 18:41
-
-
Save sburns/11227605 to your computer and use it in GitHub Desktop.
ipython notebook supervisor recipe
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 characters
[program:ipynb] | |
command=/gpfs22/home/burnsss1/env6/bin/ipython notebook --profile=external #change | |
numprocs=1 | |
numprocs_start=0 | |
autostart=true | |
autorestart=true | |
startsecs=1 | |
startretries=3 | |
exitcodes=0,2 | |
stopsignal=QUIT | |
stopwaitsecs=10 | |
redirect_stderr=false | |
stdout_logfile=AUTO | |
stdout_logfile_maxbytes=50MB | |
stdout_logfile_backups=10 | |
stdout_capture_maxbytes=0 | |
stdout_events_enabled=false | |
stderr_logfile=AUTO | |
stderr_logfile_maxbytes=50MB | |
stderr_logfile_backups=10 | |
stderr_capture_maxbytes=0 | |
stderr_events_enabled=false | |
directory=/fs0/New_Server/Notebooks #change | |
serverurl=AUTO | |
[group:notebook] | |
programs=ipynb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your supervisord.conf file, add
include /path/to/ipynb.conf
$ supervisorctl -c /path/to/supervisord.conf reread [should say something about added notebook] $ supervisorctl -c /path/to/supervisord.conf start notebook:*
This is almost word for word what @rgbkrk recommends on this stackoverflow page