1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00

Add 'mc admin update' command (#2857)

Also this PR deprecates `service status` command
This commit is contained in:
Harshavardhana
2019-08-28 15:57:25 -07:00
committed by GitHub
parent af7d551010
commit bd7564a2d4
11 changed files with 179 additions and 202 deletions

View File

@@ -20,13 +20,12 @@ import "github.com/minio/cli"
var adminServiceCmd = cli.Command{
Name: "service",
Usage: "stop, restart or get status of MinIO server",
Usage: "restart and stop all MinIO servers",
Action: mainAdminService,
Before: setGlobalsFromContext,
Flags: globalFlags,
HideHelpCommand: true,
Subcommands: []cli.Command{
adminServiceStatusCmd,
adminServiceRestartCmd,
adminServiceStopCmd,
},