From a6df60b62c103796f376fbf9be84c7a85f673b47 Mon Sep 17 00:00:00 2001 From: liuyang1-iri Date: Fri, 14 Apr 2017 17:12:21 +0800 Subject: [PATCH 1/3] windows, remove a service without confirmation --- daemon_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon_windows.go b/daemon_windows.go index 3ef3a4f..3722ea5 100644 --- a/daemon_windows.go +++ b/daemon_windows.go @@ -58,7 +58,7 @@ func (windows *windowsRecord) Install(args ...string) (string, error) { // Remove the service func (windows *windowsRecord) Remove() (string, error) { removeAction := "Removing " + windows.description + ":" - cmd := exec.Command("nssm.exe", "remove", windows.name) + cmd := exec.Command("nssm.exe", "remove", windows.name, "confirm") err := cmd.Run() if err != nil { return removeAction + failed, err From b800fde019b12385a2106d883dd20022c97fdabc Mon Sep 17 00:00:00 2001 From: Igor Dolzhikov Date: Tue, 18 Apr 2017 11:17:59 +0700 Subject: [PATCH 2/3] Contributors --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 74fdef6..a8e3d3b 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,7 @@ func main() { - [Yota](https://github.com/nus) - [Erkan Durmus](https://github.com/derkan) - [maxxant](https://github.com/maxxant) +- [1for](https://github.com/1for) All the contributors are welcome. If you would like to be the contributor please accept some rules. - The pull requests will be accepted only in "develop" branch From d24deb51819e859336627156c9b5487941eff8ef Mon Sep 17 00:00:00 2001 From: Igor Dolzhikov Date: Tue, 18 Apr 2017 11:18:40 +0700 Subject: [PATCH 3/3] Bumped version number to 0.8.6 --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index 7c9919b..306dc6a 100644 --- a/daemon.go +++ b/daemon.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package daemon 0.8.5 for use with Go (golang) services. +Package daemon 0.8.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,