On Wed, Apr 23, 2008 at 7:24 AM, gerhard <[EMAIL PROTECTED]> wrote: > > * Is there a preferred way to set up a directory for worksheets? > > I had some problems with creating worksheets, > which I "solved" by > - creating a directory and setting permissions > - using the directory argument for the notebook > - setting the environmental variable USER to point to it's parent > > Probably not what is required. Is there some documentation I missed?
I'm not sure what you're trying to do. You should just do notebook(directory="thedir") after you setup the USER (HOME?) variable and permissions. It sounds like you're doing the right thing. > My initial problem was that trying to create a notebook > resulted in an error message about a missing "/notebook_new" > (Note the root directory) Makes sense, because you don't have a HOME directory maybe. ? > --------------------------------- > * is there a global rc.d startup script available? No. You might be the first to use the notebook in such a deamon mode. > Or rather, how can I cause the sage server to exit cleanly? > I don't think just killing the process is what one would want to do. You might be the first to use the notebook in a daemon mode. What's the canonical way to terminate a twistd deamon? That's all that the sage notebook is running as. You might want to read a little about using twistd, which is the twisted daemon. When the notebook runs it just does so by running twistd with some parameters. > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---