Overview
"kusanagi" commands can be executed by either "root" users or users belonging to the "www" group. (Kusanagi users belong to the ”www” group by default.)
If you are not able to use the "kusanagi" commands, please make sure you are a "root" user or a user belonging to the "www" group.
The full path to "kusanagi" commands is "/opt/local/bin/kusanagi".
Common options
-V | --version
Checks version information for the current KUSANAGI environment.
Example
kusanagi -V
kusanagi --version
Output
# kusanagi -V
KUSANAGI Version 9.0.0-1.el8
-h | --help
Displays the usage of "kusanagi" commands and each subcommand.
Example
kusanagi -h
kusanagi init -h
kusanagi ssl -h
[--dryrun] {subcommand}
Verifies the result of executing a "kusanagi" subcommand without actually executing the subcommand.
The "--dryrun" option must be specified immediately before the subcommand.
After the subcommand, specify the options for each subcommand.
Example
kusanagi --dryrun provision test
kusanagi --dryrun bcache clear --path /path/to
Command list
- addon install
- addon remove
- analyze
- bcache clear
- bcache off
- bcache on
- bcache status
- configure
- container off
- container on
- container pull
- container restart
- container status
- dbinit mariadb
- dbinit psql
- fcache clear
- fcache off
- fcache on
- fcache status
- httpd
- httpd-behind-nginx
- init
- list
- migrate
- monit
- monit config
- monit off
- monit on
- monit reload
- nginx
- php
- provision
- ratelimit off
- ratelimit on
- ratelimit status
- remove
- restart
- ruby
- show
- ssl
- status
- update cert
- update plugin
- upgrade kusanagi
- upgrade mariadb
- upgrade psql
- waf off
- waf on
- waf status