From 5040c21fd7c9f18e2dd18307956aea5e8838ae01 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 17 Mar 2013 14:45:24 -0400 Subject: [PATCH] add a startup notice in the log, with version number --- Assistant.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assistant.hs b/Assistant.hs index 0b89369b00..630f3685ba 100644 --- a/Assistant.hs +++ b/Assistant.hs @@ -157,6 +157,7 @@ import Assistant.Environment import qualified Utility.Daemon import Utility.LogFile import Utility.ThreadScheduler +import qualified Build.SysConfig as SysConfig stopDaemon :: Annex () stopDaemon = liftIO . Utility.Daemon.stopDaemon =<< fromRepo gitAnnexPidFile @@ -198,6 +199,7 @@ startDaemon assistant foreground startbrowser = do =<< newAssistantData st dstatus go webappwaiter = do + notice ["starting", desc, "version", SysConfig.packageversion] #ifdef WITH_WEBAPP d <- getAssistant id urlrenderer <- liftIO newUrlRenderer