Yes, but I'm running it in the background (and then logging off). So that process is not in the foreground anymore. (Furthermore, the sage process actually starts lots of others, in a linear chain, so "ps ax" lists lots of sage- and sage-wiki-related stuff.)
Nathan On Jan 23, 2009, at 1:02 PM, Luiz Felipe Martins wrote: > > Ctrl-c will shut down the server > > On Fri, Jan 23, 2009 at 9:25 AM, Nathan Carter <[email protected] > > wrote: >> >> >> This may seem like a basic question, but how should I shut down the >> sage server? And the wiki? That is, I have a script that does this: >> >> /path/to/sage-3.2.3/sage start_notebook.sage & # on port 8000 >> /path/to/sage-3.2.3/sage start_wiki.sage & # on port 9000 >> >> and so I run it and log off, and voila! sage and the wiki are all >> set. Then later I want to restart it for one reason or another (or >> just add a nice shutdown script to the machine's shutdown scripts) >> and >> all I know to do is kill -9 a whole bunch of processes, which is (I >> hope) not the official solution. >> >> This seems like a basic question, so I apologize if it's in the docs, >> but I did Google sagemath.org and didn't see anything under "server >> shutdown" or "server shut down". >> >> Thank you! >> >> Nathan >> >> PS: Is that how I should be starting the wiki...in its own separate >> sage run? Since notebook() doesn't return, I don't know how to do it >> in one session. >> >>> >> > > > > -- > "The main things which seem to me important on their own account, and > not merely as means to other things, are knowledge, art, instinctive > happiness, and relations of friendship or affection." > -Bertrand Russell > > L. Felipe Martins > Department of Mathematics > Cleveland State University > [email protected] > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
