From 2e7c28e4bdf2b2b4d2860fa178a5bbda7f351836 Mon Sep 17 00:00:00 2001 From: Igor Dolzhikov Date: Sat, 31 Jan 2015 01:19:20 +0700 Subject: [PATCH 1/2] Fixed wrong stderr redirection for linux systemV (thanks Donny) --- 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 be44fd28ccacb7d0bdd873f296ab0e520276cec0 Mon Sep 17 00:00:00 2001 From: Igor Dolzhikov Date: Sat, 31 Jan 2015 01:20:14 +0700 Subject: [PATCH 2/2] Bumped version number to 0.2.8 --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index 1d60d02..a815a6e 100644 --- a/daemon.go +++ b/daemon.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package daemon 0.2.7 for use with Go (golang) services. +Package daemon 0.2.8 for use with Go (golang) services. Package daemon provides primitives for daemonization of golang services. This package is not provide implementation of user daemon,