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:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user