aboutsummaryrefslogtreecommitdiff
path: root/Assistant.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-09 14:16:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-09 14:16:42 -0400
commit1e5d450e5a2476c8796a33991450bc18be4bfd7b (patch)
tree80c679082a677d786a0fe8cf0db98acb171613e5 /Assistant.hs
parent554be78d4e068140488cbf669590aae0a528b40d (diff)
comment
Diffstat (limited to 'Assistant.hs')
-rw-r--r--Assistant.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Assistant.hs b/Assistant.hs
index e49924928..eb01bb9b9 100644
--- a/Assistant.hs
+++ b/Assistant.hs
@@ -73,6 +73,7 @@ stopDaemon = liftIO . Utility.Daemon.stopDaemon =<< fromRepo gitAnnexPidFile
- stdout and stderr descriptors. -}
startDaemon :: Bool -> Bool -> Maybe Duration -> Maybe String -> Maybe HostName -> Maybe (Maybe Handle -> Maybe Handle -> String -> FilePath -> IO ()) -> Annex ()
startDaemon assistant foreground startdelay cannotrun listenhost startbrowser = do
+
Annex.changeState $ \s -> s { Annex.daemon = True }
pidfile <- fromRepo gitAnnexPidFile
logfile <- fromRepo gitAnnexLogFile