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
@@ -46,7 +46,7 @@ func (s *systemd) String() string {
var errNoUserServiceSystemd = errors.New("User services are not supported on systemd.")
func (s *systemd) configPath() (cp string, err error) {
if s.Config.UserService {
if s.Option.bool(optionUserService, optionUserServiceDefault) {
err = errNoUserServiceSystemd
return
}