Man pages: cherokee-worker

This executable is meant to be invoked only by the main cherokee instance. Executing it directly is a discouraged practice.

This is the full information provided by the manpage:

It can be launched in several ways as shown in the section Running Cherokee. Unless specified otherwise, cherokee-worker will try to run with the configuration present in your default cherokee.conf file. The accepted parameters are those of the cherokee binary.

To illustrate the usefulness of such options take the following example:

$ cherokee-worker -p 8080 -r `pwd`

Since both absolute and relative paths are accepted, it is equivalent to:

$ cherokee-worker -p 8080 -r .

This would allow any non-privileged user to statically share the contents of the current directory. It’s a great way to share files in a local network whenever you are in a hurry. Remember that in Unix systems only processes launched by the superuser have privileges to be hooked to the lower 1024 ports of the system.