code: func (sys *System) detectService() {
  	switch DetectService() {
  	case "upstart":
  		sys.NewService = NewServiceUpstart
  	case "systemd":
  		sys.NewService = NewServiceSystemd
  	case "alpineinit":
  		sys.NewService = NewAlpineServiceInit
  	default:
  		sys.NewService = NewServiceInit
  	}
  }
docs: // detectService adds the correct service creation function to a System struct