is a utility which allows you to start and stop the Nanoweb HyperText
Transfer Protocol (HTTP) server. Among this it allows you to show the
current state of the running server.
If Nanoweb is running you'll find the full documentation under
argument can be one out of the following:
Brings up the Nanoweb Server.
Stops the Nanoweb daemon.
This command reinitializes Nanoweb, or with other words stops it first and
starts it again.
Makes Nanoweb reread the main server configuration files (by sending the HUP
signal to the running nanoweb.php).
Shows a summary of the current server state.
Status page which lists all active server processes (usually there is more
than one "subserver").
Full status information.
Shows the status of all defined virtual hosts.
More detailed version of the above one.
You really don't need to use
to start and stop the Nanoweb server daemon. You could do all this with the
command. However nanoctl is of course much more easy and flexible to use.
It is for example designed to easily allow to run the Nanoweb daemon on
system bootup by simply creating a
symlink to nanoctl in the
directory for example.
used to give too few error messages in the past, but this seems fixed
A common mistake is to run
from commandline, which doesn't create the PID-file automatically and trying
to stop nanoweb.php with nanoctl, which usually won't work that way.
This file holds the process id
of the running nanoweb.php daemon to make it easier for
to stop it.