service: move UserService field to Option. Update readme. Remove beta tag.

This commit is contained in:
Daniel Theophanes
2015-05-01 08:15:06 -07:00
parent eb835b9b7e
commit 4841cf3be4
6 changed files with 30 additions and 21 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func (s *sysv) String() string {
var errNoUserServiceSystemV = errors.New("User services are not supported on SystemV.")
func (s *sysv) configPath() (cp string, err error) {
if s.Config.UserService {
if s.Option.bool(optionUserService, optionUserServiceDefault) {
err = errNoUserServiceSystemV
return
}