1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00
Files
docs/source/reference/minio-mc-admin/mc-admin-service.rst
2022-01-04 19:11:15 -05:00

2.2 KiB

mc admin service

minio

Table of Contents

mc admin service

Description

The mc admin service command can restart or stop MinIO servers.

mc admin service affects all MinIO servers in the target deployment at the same time. The command interrupts in-progress API operations on the MinIO deployment. Exercise caution before issuing an update command on production environments.

Use mc admin on MinIO Deployments Only

Examples

Restart MinIO Servers in Target Deployment

mc admin service restart myminio

Stop MinIO Servers in Target Deployment

mc admin service stop myminio

Syntax

mc admin service has the following syntax:

mc admin service COMMAND [ARGUMENTS]

mc admin service supports the following commands:

restart

Restarts MinIO servers.

mc admin service restart has the following syntax:

mc admin service restart TARGET

Specify the alias <mc alias> of a configured MinIO deployment. ~mc admin service restart restarts all MinIO servers in the deployment.

stop

Stops MinIO servers.

mc admin service stop has the following syntax:

mc admin service stop TARGET

Specify the alias <mc alias> of a configured MinIO deployment. ~mc admin service stop stops all MinIO servers in the deployment.