service: fix misc typos.

This commit is contained in:
Daniel Theophanes
2015-09-01 09:34:29 -07:00
parent 06ebab178d
commit 5ab7ce2c8f
16 changed files with 30 additions and 16 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// Simple service that only works by printing a log message every few seconds.
package main
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// Simple service that only works by printing a log message every few seconds.
package main
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// simple does nothing except block while running the service.
package main
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// simple does nothing except block while running the service.
package main
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// Package service provides a simple way to create a system service.
// Currently supports Windows, Linux/(systemd | Upstart | SysV), and OSX/Launchd.
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+2 -2
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service_test
@@ -55,7 +55,7 @@ func TestInstallRunRestartStopRemove(t *testing.T) {
}
err = s.Uninstall()
if err != nil {
t.Fatal("stop", err)
t.Fatal("uninstall", err)
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
// +build linux darwin
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+1 -1
View File
@@ -1,6 +1,6 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.package service
// license that can be found in the LICENSE file.
package service
+14
View File
@@ -0,0 +1,14 @@
// Copyright 2015 Daniel Theophanes.
// Use of this source code is governed by a zlib-style
// license that can be found in the LICENSE file.
package service
import (
"testing"
)
func TestTimeout(t *testing.T) {
stopSpan := getStopTimeout()
t.Log("Max Stop Duration", stopSpan)
}