[AWS] Shutdown
Thomas De Contes
d.l.tDeContes at free.fr
Thu Nov 1 02:39:26 CET 2007
hi :-)
if i understood well, roughly speaking there is 2 ways to manage a
server :
1
Start(WS, ... );
Wait(Q_Key_Pressed);
Shutdown(WS);
it's nice to make tests
Wait terminates when the user type "q", then we have to Shutdown the
server
2
Start(WS, ... );
Wait(No_Server);
it's the one to use in production
Wait terminates when the server is down
so we have to do "Shutdown(WS);" when we want to close it (for
example when there is a call to a given url)
and we don't have to Shutdown the server after that
i don't see in which case "Wait(Forever);" can be useful
am i right ?
well,
is there a device so that Shutdown is called when the computer is
restarted ?
i hope that when i type "reboot" the server is not just badly killed,
because i want to save some data in files, and some things like that,
after the "Wait" command
--
j'agis contre l'assistanat, je travaille dans une SCOP !
More information about the AWS
mailing list