Artifact e118c0709cc0cb9b351e2fa34a057bb1ac7320e5101a7adaffbe1c94f40c9d73:
- File www/server/any/xinetd.md — part of check-in [2a7b1de3] at 2024-02-10 12:26:43 on branch inskinerator-modern-backport — Removed a bunch of manual indents in pre blocks, MD fenced code blocks, etc. The skin does that for us now. (user: wyoung size: 830) [more...]
Serving via xinetd
Some operating systems have replaced the old Unix inetd
daemon with
xinetd
, which has a similar mission but with a very different
configuration file format.
The typical configuration file is either /etc/xinetd.conf
or a subfile
in the /etc/xinetd.d
directory. You need a configuration something
like this for Fossil:
service http
{
port = 80
socket_type = stream
wait = no
user = root
server = /usr/bin/fossil
server_args = http /home/fossil/repos/
}
This example configures Fossil to serve multiple repositories under the
/home/fossil/repos/
directory.
Beyond this, see the general commentary in our article on the inetd
method as they also apply to service via xinetd
.