service: remove unused const.

This commit is contained in:
Daniel Theophanes
2014-05-27 22:21:54 -07:00
parent 782c78354d
commit 41caac0c1f
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
service will install / un-install, start / stop, and run a program as a service (daemon).
Currently supports Windows XP+, Linux/(systemd | Upstart), and OSX/Launchd.
Currently supports Windows XP+, Linux/(systemd | Upstart | SysV), and OSX/Launchd.
To start out follow "example/main.go".
+1 -1
View File
@@ -1,5 +1,5 @@
// Package service provides a simple way to create a system service.
// Currently supports Windows, Linux/(systemd | Upstart), and OSX/Launchd.
// Currently supports Windows, Linux/(systemd | Upstart | SysV), and OSX/Launchd.
package service
import "bitbucket.org/kardianos/osext"
-2
View File
@@ -17,8 +17,6 @@ const (
initSystemd
)
const systemOs = "linux"
func getFlavor() initFlavor {
flavor := initSystemV
if isUpstart() {