% SPLINTER-MAINTENANCE-ENABLE(1) Cargill, Incorporated | Splinter Commands
NAME
splinter-maintenance-enable — Enables maintenance mode for a Splinter node
SYNOPSIS
splinter maintenance enable [FLAGS] [OPTIONS]
DESCRIPTION
Maintenance mode may be used to temporarily disable write operations for the Splinter REST API. This command enables maintenance mode for a particular Splinter node.
FLAGS
-
-h,--help - Prints help information
-
-q,--quiet - Decrease verbosity (the opposite of -v). When specified, only errors or warnings will be output.
-
-V,--version - Prints version information
-v- Increases verbosity (the opposite of -q). Specify multiple times for more output.
OPTIONS
-
-k,--keyPRIVATE-KEY-FILE - Specifies the private signing key (either a file path or the name of a .priv file in $HOME/.splinter/keys) for authenticating with the Splinter REST API.
-
-U,--urlURL - Specifies the URL for the
splinterdREST API. The URL is required unless$SPLINTER_REST_API_URLis set.
EXAMPLES
This example shows how to enable maintenance mode for the Splinter node at
http://localhost:8080:
$ splinter maintenance enable -U http://localhost:8080
Maintenance mode has been enabled
ENVIRONMENT VARIABLES
- SPLINTER_REST_API_URL
- URL for the
splinterdREST API. (See-U,--url.)
SEE ALSO
| splinter-maintenance-status(1)
| splinter-maintenance-disable(1)
|
| Splinter documentation: https://www.splinter.dev/docs/0.7/