mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-23 20:51:57 +01:00
Patch for madhadron/hdaemonize#3
This commit is contained in:
parent
abca932bc4
commit
6e276c3bd3
12
patching/patches/hdaemonize-0.4.5.0.patch
Normal file
12
patching/patches/hdaemonize-0.4.5.0.patch
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user