mirror of
				https://github.com/kardianos/service.git
				synced 2025-10-31 12:06:34 +08:00 
			
		
		
		
	service: fix misc typos.
This commit is contained in:
		| @@ -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,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,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,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,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,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,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,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,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,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,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,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,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,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,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
									
								
							
							
						
						
									
										14
									
								
								service_windows_test.go
									
									
									
									
									
										Normal 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) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Theophanes
					Daniel Theophanes