Mercurial > p > roundup > code
comparison scripts/imapServer.py @ 3609:f2fda3e6fc8b
umask is now configurable (with the same 0002 default)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 27 Apr 2006 04:59:37 +0000 |
| parents | eddcfee2cc19 |
| children | 67bef70ab9b9 |
comparison
equal
deleted
inserted
replaced
| 3608:19c0ee158c29 | 3609:f2fda3e6fc8b |
|---|---|
| 261 pidfile = open(self.pidfile, 'w') | 261 pidfile = open(self.pidfile, 'w') |
| 262 pidfile.write(str(pid)) | 262 pidfile.write(str(pid)) |
| 263 pidfile.close() | 263 pidfile.close() |
| 264 os._exit(0) | 264 os._exit(0) |
| 265 | 265 |
| 266 #os.chdir("/") | |
| 267 #os.umask(0) | |
| 268 | |
| 269 def run(self): | 266 def run(self): |
| 270 """Run email gathering daemon. | 267 """Run email gathering daemon. |
| 271 | 268 |
| 272 This spawns itself as a daemon, and then runs continually, just | 269 This spawns itself as a daemon, and then runs continually, just |
| 273 sleeping inbetween checks. It is recommended that you run | 270 sleeping inbetween checks. It is recommended that you run |
