hdaemonize 0.4.3 → 0.4.4
raw patch · 3 files changed
+9/−6 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- System.Posix.Daemonize: exitCleanly :: (MonadIO m) => m a
+ System.Posix.Daemonize: exitCleanly :: MonadIO m => m a
- System.Posix.Daemonize: fatalError :: (MonadIO m) => String -> m a
+ System.Posix.Daemonize: fatalError :: MonadIO m => String -> m a
Files
- README +5/−2
- System/Posix/Daemonize.hs +3/−3
- hdaemonize.cabal +1/−1
README view
@@ -1,4 +1,4 @@-`hdaemonize-0.2`+`hdaemonize-0.4.3` ================= `hdaemonize` is a simple library that hides some of the complexities@@ -8,7 +8,7 @@ ----------- The latest version is available (BSD license) at-[GitHub](http://github.com/toyvo/hdaemonize/tree/master). +[GitHub](https://github.com/madhadron/hdaemonize). Using -------@@ -66,6 +66,9 @@ Changelog ---------++* 0.4+ * added support for a privileged action before dropping privileges * 0.3 * merged with updates by madhadron
System/Posix/Daemonize.hs view
@@ -27,11 +27,11 @@ -- > main :: IO () -- > main = serviced stillAlive -- > - -- > stillAlive :: CreateDaemon+ -- > stillAlive :: CreateDaemon () -- > stillAlive = simpleDaemon { program = stillAliveMain } -- > - -- > stillAliveMain :: IO ()- -- > stillAliveMain = do+ -- > stillAliveMain :: () -> IO ()+ -- > stillAliveMain _ = do -- > installHandler sigHUP (Catch taunt) (Just fullSignalSet) -- > forever $ do threadDelay (10^6) -- > syslog Notice "I'm still alive!"
hdaemonize.cabal view
@@ -1,5 +1,5 @@ Name: hdaemonize-Version: 0.4.3+Version: 0.4.4 Cabal-Version: >= 1.6 License: BSD3 License-file: LICENSE