Command-line interface to the Cherokee administrative interface
-c command -a url [options]
cherokee-tweak connects to running cherokee instance, either local or remote,
and requests it to perform one of several actions.
accepts the following options:
- -h, --help
Shows brief usage information
- -V, --version
Prints version and exits
- -u, --user= STRING
Specifies the user name with which to identify to the server
- -p, --password= STRING
Specifies the password with which to identify to the server
- -c, --command=STRING
Required option. Command to execute: logrotate, trace or info
- -a, --url=URL
Required option. URL where the administration interface can be found.
This target must be defined previously in cherokee-admin, enabling
a "Remote Administration" type handler (Virtual Servers->Behaviour->Add new rule,
and then Handler->"Remote Administration"). The deffinition of a security mechanism
is highly encouraged.
- -l, --log=PATH
Log file to be rotated (Only to be used when -c is logrotate)
- -t, --trace=STRING
Modules to be traced (Only to be used when -c is trace). Cherokee must have
been compiled with the --enable-trace for this to work. Everything traceable
with CHEROKEE_TRACE can also be traced this way.