Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ServiceRestart (0.2 sec)

  1. cmd/signals.go

    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    			daemon.SdNotify(false, daemon.SdNotifyStopping)
    			exit(stopProcess())
    		case signal := <-globalServiceSignalCh:
    			switch signal {
    			case serviceRestart:
    				logger.Info("Restarting on service signal")
    				daemon.SdNotify(false, daemon.SdNotifyReloading)
    				stop := stopProcess()
    				rerr := restartProcess()
    				if rerr == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	// Notify all other MinIO peers signal service.
    	for _, nerr := range globalNotificationSys.SignalService(serviceRestart) {
    		if nerr.Err != nil {
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			adminLogIf(ctx, nerr.Err)
    		}
    	}
    
    	globalServiceSignalCh <- serviceRestart
    }
    
    // ServiceHandler - POST /minio/admin/v3/service?action={action}
    // ----------
    // Supports following actions:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	}
    	si, err := strconv.Atoi(signalString)
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    	signal := serviceSignal(si)
    	switch signal {
    	case serviceRestart, serviceStop:
    		dryRun := vars.Get("dry-run") == "true" // This is only supported for `restart/stop`
    
    		waitingDisks := waitingDrivesNode()
    		if len(waitingDisks) > 0 {
    			buf, err := json.Marshal(waitingDisks)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top