summaryrefslogtreecommitdiff
path: root/pcr/tahoe-lafs/nodaemon.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/tahoe-lafs/nodaemon.patch
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/tahoe-lafs/nodaemon.patch')
-rw-r--r--pcr/tahoe-lafs/nodaemon.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/pcr/tahoe-lafs/nodaemon.patch b/pcr/tahoe-lafs/nodaemon.patch
deleted file mode 100644
index dfcc0b8ae..000000000
--- a/pcr/tahoe-lafs/nodaemon.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/allmydata/scripts/startstop_node.py 2011-10-30 22:54:34.000000000 +0100
-+++ src/allmydata/scripts/startstop_node.py 2011-11-10 15:22:21.432711365 +0100
-@@ -10,6 +10,7 @@
- optFlags = [
- ["profile", "p", "Run under the Python profiler, putting results in 'profiling_results.prof'."],
- ["syslog", None, "Tell the node to log to syslog, not a file."],
-+ ["nodaemon", "n", "Do not daemonize."],
- ]
-
- def getSynopsis(self):
-@@ -70,6 +71,8 @@
- args.extend(["--logfile", os.path.join("logs", "twistd.log")])
- if opts["profile"]:
- args.extend(["--profile=profiling_results.prof", "--savestats",])
-+ if opts["nodaemon"]:
-+ args.extend(["--nodaemon", "--umask=0077"])
- # now we're committed
- os.chdir(basedir)
- from twisted.scripts import twistd