diff --git a/README b/README index 9936b07..fcc8345 100644 --- a/README +++ b/README @@ -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". diff --git a/service.go b/service.go index 7396eb3..b90b5ff 100644 --- a/service.go +++ b/service.go @@ -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" diff --git a/service_linux.go b/service_linux.go index a8778b6..70ed30b 100644 --- a/service_linux.go +++ b/service_linux.go @@ -17,8 +17,6 @@ const ( initSystemd ) -const systemOs = "linux" - func getFlavor() initFlavor { flavor := initSystemV if isUpstart() {