From 6e276c3bd31d2c3b00ad6e84ffda3742f658eebb Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 10 Aug 2014 13:47:37 +0300 Subject: [PATCH] Patch for madhadron/hdaemonize#3 --- patching/patches/hdaemonize-0.4.5.0.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patching/patches/hdaemonize-0.4.5.0.patch diff --git a/patching/patches/hdaemonize-0.4.5.0.patch b/patching/patches/hdaemonize-0.4.5.0.patch new file mode 100644 index 00000000..9cb43814 --- /dev/null +++ b/patching/patches/hdaemonize-0.4.5.0.patch @@ -0,0 +1,12 @@ +diff -ruN orig/System/Posix/Daemonize.hs new/System/Posix/Daemonize.hs +--- orig/System/Posix/Daemonize.hs 2014-08-10 13:47:22.378323475 +0300 ++++ new/System/Posix/Daemonize.hs 2014-08-10 13:47:22.000000000 +0300 +@@ -147,7 +147,7 @@ + process daemon' args + where + +- program' daemon = withSyslog (fromJust $ name daemon) (syslogOptions daemon) DAEMON $ ++ program' daemon = withSyslog (fromJust $ name daemon) (syslogOptions daemon) DAEMON [] $ + do let log = syslog Notice + log "starting" + pidWrite daemon