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

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

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

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

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

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

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

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.

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

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

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

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

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)
}
}

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

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

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
service_windows_test.go Normal file
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)
}