projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af3bfb
)
'tahoe start': only create logs/ if we're starting a tahoe node
author
Brian Warner
<warner@lothar.com>
Mon, 18 Feb 2008 07:31:28 +0000
(
00:31
-0700)
committer
Brian Warner
<warner@lothar.com>
Mon, 18 Feb 2008 07:31:28 +0000
(
00:31
-0700)
src/allmydata/scripts/startstop_node.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/startstop_node.py
b/src/allmydata/scripts/startstop_node.py
index c79bad1146d8f967d9c42d13845cf9df98f24698..81c6f7649028d69ddbcf1822137516d0a6feb90c 100644
(file)
--- a/
src/allmydata/scripts/startstop_node.py
+++ b/
src/allmydata/scripts/startstop_node.py
@@
-57,9
+57,9
@@
def do_start(basedir, profile=False, out=sys.stdout, err=sys.stderr):
print "Can't find twistd (it comes with Twisted). Aborting."
sys.exit(1)
- fileutil.make_dirs(os.path.join(basedir, "logs"))
cmd.extend(["-y", tac])
if nodetype in ("client", "introducer"):
+ fileutil.make_dirs(os.path.join(basedir, "logs"))
cmd.extend(["--logfile", os.path.join("logs", "twistd.log")])
if profile:
cmd.extend(["--profile=profiling_results.prof", "--savestats",])