Implement EnableNow for OpenRC

pull/11632/head
Ilya Zuyev 2021-06-22 12:12:47 -07:00
parent 5522dbc481
commit 62bab4c078
1 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,9 @@ func (s *OpenRC) Enable(svc string) error {
// EnableNow not implemented for openRC
func (s *OpenRC) EnableNow(svc string) error {
return fmt.Errorf("enable now is not implemented for OpenRC! PRs to fix are welcomed")
// supposed to do enable + start
// enable does nothing for OpenRC, so just Start here
return s.Start(svc)
}
// Unmask does nothing