[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7114 - trunk/gnue-common/src/apps
From: |
btami |
Subject: |
[gnue] r7114 - trunk/gnue-common/src/apps |
Date: |
Tue, 8 Mar 2005 10:02:06 -0600 (CST) |
Author: btami
Date: 2005-03-08 10:02:03 -0600 (Tue, 08 Mar 2005)
New Revision: 7114
Modified:
trunk/gnue-common/src/apps/GServerApp.py
Log:
enable pidfile creation on posix systems only
Modified: trunk/gnue-common/src/apps/GServerApp.py
===================================================================
--- trunk/gnue-common/src/apps/GServerApp.py 2005-03-08 15:19:22 UTC (rev
7113)
+++ trunk/gnue-common/src/apps/GServerApp.py 2005-03-08 16:02:03 UTC (rev
7114)
@@ -66,8 +66,9 @@
GBaseApp.__init__(self, connections, application, defaults)
if not self.OPTIONS ['foreground']:
- self.__removeStaleFile ()
- self.__createPidFile (0)
+ if os.name == 'posix':
+ self.__removeStaleFile ()
+ self.__createPidFile (0)
signal.signal (signal.SIGTERM, self._terminate)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7114 - trunk/gnue-common/src/apps,
btami <=