From 8e28135b26db1c920ebde7438db9bad87d3026ee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 20 Nov 2016 14:39:26 -0400 Subject: remotedaemon: Fork to background by default. Added --foreground switch to enable old behavior. Groundwork for tor hidden services, which the remotedaemon will serve. --- Assistant/Threads/RemoteControl.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant') 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 -- cgit v1.2.3