![]() | :: | Software | :: | shttpd |
redir-config user loguser dir portwhere user and loguser are system account names, dir is an absolute path name, and port is a TCP port. The port may be specified as a name from /etc/services or a numeric value.
redir-config creates the directory dir as an svscan-format service directory, configured to run redir-httpd on the TCP port port, running redir-httpd as user and creating log files as loguser.
redir-config creates the directory dir/env containing files that establish runtime environment variables for redir-httpd via envdir.
redir-config creates the directory dir/root for redir-httpd to use as its root directory.
redir-config creates dir/root/Makefile for compiling dir/root/data.cdb with redir-data.