packages feed

bein 0.3.2 → 0.3.3

raw patch · 3 files changed

+8/−8 lines, 3 filesdep ~hdaemonize

Dependency ranges changed: hdaemonize

Files

Bein/Daemon.hs view
@@ -15,12 +15,12 @@ main :: IO () main = serviced $ simpleDaemon { program = beind, user = Just "bein", group = Just "bein" } -beind :: IO ()-beind = getState >>= runReaderT beind'+beind :: a -> IO ()+beind _ = getState >>= runReaderT beind'   where beind' = do installSignalHandlers                     socketFile <- configField daemon_port                     listenWith daemonProtocol socketFile-+  getState :: IO DaemonState   getState = do   conn <- connectPostgreSQL "dbname=bein"
Bein/Web.hs view
@@ -20,8 +20,8 @@ getPort :: WebState -> IO Int getPort st = (liftIO.atomically.readTVar.configT) st >>= return.http_port -httpd :: IO ()-httpd = getState >>= \s -> do +httpd :: a -> IO ()+httpd _ = getState >>= \s -> do    p <- getPort s   runReaderT sessionExpirer s   simpleHTTP' (\a -> runReaderT a s) (Conf p Nothing) routing
bein.cabal view
@@ -1,5 +1,5 @@ name:                bein-version:             0.3.2+version:             0.3.3 synopsis:            Bein is a provenance and workflow management system for bioinformatics. description:         To avoid having thousands of files produced in a random way from a bunch of scripts, as is typically the case for a bioinformaticist, Bein keeps track of scripts, and their executions on various inputs.  It provides a web front end, and will integrate with LSF clusters. category:            Application@@ -22,7 +22,7 @@ Executable beind   Main-is:           Bein/Daemon.hs   Build-Depends:     base >= 3 && < 5, HDBC, HDBC-postgresql, process,-                     hdaemonize >= 0.3, hsyslog, parsec, random, unix, network,+                     hdaemonize >= 0.4, hsyslog, parsec, random, unix, network,                      convertible, stm, mtl, filepath   Ghc-Options:       -Wall -threaded -fno-warn-unused-do-bind   Other-Modules:     Bein.Types, Bein.Commands, Bein.Configuration,@@ -51,7 +51,7 @@ Executable beinhttpd   Main-is:           Bein/Web.hs   Build-Depends:     base >= 3 && < 5, HDBC, HDBC-postgresql, unix, stm, mtl, filepath,-                     directory, hsyslog, hdaemonize, happstack-server, Crypto,+                     directory, hsyslog, hdaemonize >= 0.4, happstack-server, Crypto,                      happstack-util, containers, xhtml, time, old-locale, utf8-string,                      bytestring   Ghc-Options:       -Wall -threaded -fno-warn-unused-do-bind