Changeset 9875 for main/waeup.stress/trunk/src/waeup/stress/__init__.py
- Timestamp:
- 13 Jan 2013, 02:14:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.stress/trunk/src/waeup/stress/__init__.py
r8748 r9875 60 60 for filename in os.listdir(filestorage_dir): 61 61 if filename in ['Data.fs', 'Data.fs.tmp', 'Data.fs.index', 62 'Data.fs.lock']: 62 'Data.fs.lock', 63 'Data.async.fs', 'Data.async.fs.index', 64 'Data.async.fs.tmp', 'Data.async.fs.lock']: 63 65 filepath = os.path.join(filestorage_dir, filename) 64 66 print " removing %s" % filepath … … 88 90 './bin/paster serve --daemon parts/etc/profile.ini', shell=True) 89 91 elif mode == 'zeo': 90 os.listdir('./bin')91 92 subprocess.call('./bin/zeo_server start', shell=True) 92 93 subprocess.call('./bin/zeo_client1 start', shell=True) 93 94 subprocess.call('./bin/zeo_client2 start', shell=True) 95 elif mode == 'profile': 96 subprocess.call( 97 './bin/paster serve --daemon parts/etc/profile.ini', shell=True) 94 98 else: 95 99 # by default we start paster as daemon … … 128 132 directory. 129 133 130 `mode` can be one of `paster`|`kofactl` and tells which tool to131 use to stop the instance.134 `mode` can be one of `paster`|`kofactl`|`zeo`|`profile` and tells 135 which tool to use to stop the instance. 132 136 """ 133 137 path = instances[name]
Note: See TracChangeset for help on using the changeset viewer.