From 977260cbaf097b675f28213690b607a1636e4fcb Mon Sep 17 00:00:00 2001 From: Donn Pebe Date: Tue, 27 Jan 2015 16:06:12 +0700 Subject: [PATCH 1/2] Fix wrong stdout and stderr redirection --- daemon_linux_systemv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon_linux_systemv.go b/daemon_linux_systemv.go index 8538c7d..fc46126 100644 --- a/daemon_linux_systemv.go +++ b/daemon_linux_systemv.go @@ -244,7 +244,7 @@ start() { if ! [ -f $pidfile ]; then printf "Starting $servname:\t" echo "$(date)" >> $stdoutlog - $exec >> $stderrlog 2>> $stdoutlog & + $exec >> $stdoutlog 2>> $stderrlog & echo $! > $pidfile touch $lockfile success From 7f5914cf258c280aef675430d3d1aeb61992df8f Mon Sep 17 00:00:00 2001 From: Igor Dolzhikov Date: Fri, 30 Jan 2015 23:34:01 +0700 Subject: [PATCH 2/2] Bumped version number to 0.2.6 --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index 617bae6..37d2abf 100644 --- a/daemon.go +++ b/daemon.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package daemon 0.2.5 for use with Go (golang) services. +Package daemon 0.2.6 for use with Go (golang) services. Package daemon provides primitives for daemonization of golang services. This package is not provide implementation of user daemon,