From: <rs...@us...> - 2003-05-29 21:07:39
|
Update of /cvsroot/freevo/freevo/src/www In directory sc8-pr-cvs1:/tmp/cvs-serv12343/src/www Modified Files: __init__.py Log Message: Adding a shitdown method for the webserver plugin. Index: __init__.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/www/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 11 May 2003 22:46:33 -0000 1.3 --- __init__.py 29 May 2003 21:07:36 -0000 1.4 *************** *** 25,26 **** --- 25,31 ---- sleep(1) + + def shutdown(self): + # print 'WEBSERVER::shutdown: pid=%s' % self.pid + print 'Stopping webserver plugin.' + os.system('./runapp ./freevo stop webserver.py') |