aboutsummaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-20 14:39:26 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-20 14:50:36 -0400
commit8e28135b26db1c920ebde7438db9bad87d3026ee (patch)
tree68d948ce454ea0661dbf11416d3e26182e3447af /Assistant
parent513d36ae4de0be74b12112487d8e1b12b7c7f43e (diff)
remotedaemon: Fork to background by default. Added --foreground switch to enable old behavior.
Groundwork for tor hidden services, which the remotedaemon will serve.
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/RemoteControl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/RemoteControl.hs b/Assistant/Threads/RemoteControl.hs
index 447b493c6..1aa8bc9c8 100644
--- a/Assistant/Threads/RemoteControl.hs
+++ b/Assistant/Threads/RemoteControl.hs
@@ -30,7 +30,7 @@ remoteControlThread :: NamedThread
remoteControlThread = namedThread "RemoteControl" $ do
program <- liftIO programPath
(cmd, params) <- liftIO $ toBatchCommand
- (program, [Param "remotedaemon"])
+ (program, [Param "remotedaemon", Param "--foreground"])
let p = proc cmd (toCommand params)
(Just toh, Just fromh, _, pid) <- liftIO $ createProcess p
{ std_in = CreatePipe