added: 'remember me' flag when logging
added: the session file sessions can still be available between starting and stopping the cmslu system git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@529 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -37,7 +37,9 @@ Plugin plugin;
|
||||
|
||||
void signal_term(int)
|
||||
{
|
||||
req_controller.SaveSessions();
|
||||
log << log1 << "cmslu stopped" << logend;
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
@@ -108,14 +110,14 @@ int main(int argv, char ** argc)
|
||||
signal(SIGINT, signal_term);
|
||||
signal(SIGHUP, signal_hup);
|
||||
|
||||
req_controller.LoadSessions();
|
||||
log << log1 << "cmslu started" << logend;
|
||||
|
||||
while( true )
|
||||
{
|
||||
//log << log2 << "checking for table consistency:" << logend;
|
||||
// !! zrobic wyjatek dla root
|
||||
//db.CheckAllUrlSubject();
|
||||
|
||||
log << log1 << "cmslu started" << logend;
|
||||
|
||||
req_controller.Loop();
|
||||
|
||||
|
Reference in New Issue
Block a user