on master help sign in
Patch for madhadron/hdaemonize#3
commit6e276c3bd31d2c3b00ad6e84ffda3742f658eebb authorMichael Snoyman <michael@snoyman.com> dateSun 10 Aug 2014, 13:47 (12 years ago) parentabca932
1 file changed+12
patching/patches/hdaemonize-0.4.5.0.patch+12
patching/patches/hdaemonize-0.4.5.0.patchnew file+12
@@ -0,0 +1,12 @@
1+diff -ruN orig/System/Posix/Daemonize.hs new/System/Posix/Daemonize.hs
2+--- orig/System/Posix/Daemonize.hs 2014-08-10 13:47:22.378323475 +0300
3++++ new/System/Posix/Daemonize.hs 2014-08-10 13:47:22.000000000 +0300
4+@@ -147,7 +147,7 @@
5+ process daemon' args
6+ where
7+
8+- program' daemon = withSyslog (fromJust $ name daemon) (syslogOptions daemon) DAEMON $
9++ program' daemon = withSyslog (fromJust $ name daemon) (syslogOptions daemon) DAEMON [] $
10+ do let log = syslog Notice
11+ log "starting"
12+ pidWrite daemon