Author: ks156
Date: 2009-03-13 22:09:40 +0100 (Fri, 13 Mar 2009)
New Revision: 4070
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/daemonizer/Daemonizer.py
Log:
* Fixed a bug with the daemonizer log
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/daemonizer/Daemonizer.py
===================================================================
---
software_suite_v2/tuxware/tuxdroidserver/trunk/util/daemonizer/Daemonizer.py
2009-03-13 21:06:07 UTC (rev 4069)
+++
software_suite_v2/tuxware/tuxdroidserver/trunk/util/daemonizer/Daemonizer.py
2009-03-13 21:09:40 UTC (rev 4070)
@@ -136,6 +136,8 @@
@param redirectIO: indicate if the stdout and stdin must be redirected
in the log file.
"""
+ if not os.path.isdir(logPath):
+ os.makedirs(logPath, mode=0755)
logFilename = '%s/%s.log' % (logPath, name)
self.__daemonize(redirectIO, '/dev/null', logFilename, logFilename)
self.__pidfile = PIDFile(name)
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn