On Sun, Oct 4, 2009 at 3:43 PM, Chris Seberino <cseber...@gmail.com> wrote: > > I'm writing an /etc/init.d script to start and stop the Sage notebook. > > I'm not sure how to cleanly shutdown the notebook from the command > line. > > ps -ef shows a lot of sage processes so it isn't obvious which one I > should kill -9. > > I tried killing some but can't find the right one that shuts down the > whole operation. > > Thanks,
Look in the sage_notebook directory (possibly in $HOME/.sage). There is a file twistd.pid. Do: kill pid_in_that_file William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---