Skip to content

Commit

Permalink
service: fix misc typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
kardianos committed Sep 1, 2015
1 parent 06ebab1 commit 5ab7ce2
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 16 deletions.
2 changes: 1 addition & 1 deletion console.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion example/logging/main.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/runner/runner.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/simple/main.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion example/stopPause/main.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion name_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion service_darwin.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service_linux.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service_systemd_linux.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service_sysv_linux.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions service_test.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -55,7 +55,7 @@ func TestInstallRunRestartStopRemove(t *testing.T) {
}
err = s.Uninstall()
if err != nil {
t.Fatal("stop", err)
t.Fatal("uninstall", err)
}
}

Expand Down
2 changes: 1 addition & 1 deletion service_unix.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service_upstart_linux.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion service_windows.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
14 changes: 14 additions & 0 deletions service_windows_test.go
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 5ab7ce2

Please sign in to comment.