man fnord-conf (Administration système) - sets up a fnord HTTP service

NAME

fnord-conf - sets up a fnord HTTP service

SYNOPSIS

fnord-conf acct logacct dir webroot [ ip ]

DESCRIPTION

fnord-conf creates the service directory dir that runs the fnord program under tcpsvd(8). dir must start with a slash and must not contain any special characters. Normally dir is /etc/fnord.

You can run the HTTP service under runit's supervision by creating a symbolic link in the services directory /var/service/:

ln -s dir /var/service/

fnord-conf arranges for tcpsvd(8) to listen for TCP connections on the address ip:80, and to run the fnord program under the uid and gid of acct, chroot'ed to webroot, for incoming connections. The name acct must not contain any special characters.

fnord-conf creates an automatically rotated log directory in dir/log/main. The logs are owned by logacct, and the corresponding svlogd(8) process runs under the uid and gid of logacct. The name logacct must not contain any special characters.

SEE ALSO