code: func ServiceWithInit(b *bool) func(*swarmtypes.ServiceSpec) {
  	return func(spec *swarmtypes.ServiceSpec) {
  		ensureContainerSpec(spec)
  		spec.TaskTemplate.ContainerSpec.Init = b
  	}
  }
docs: // ServiceWithInit sets whether the service should use init or not